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