public void Custom(string message, int?durationInSeconds = null, string backgroundColor = "black", string iconClassName = "home") { var toastMessage = new NotyfNotification(ToastNotificationType.Custom, message, durationInSeconds); toastMessage.Icon = iconClassName; toastMessage.BackgroundColor = backgroundColor; _container.Add(toastMessage); }
public void Warning(string message, int?durationInSeconds = null) { var toastMessage = new NotyfNotification(ToastNotificationType.Warning, message, durationInSeconds); _container.Add(toastMessage); }