For technical information read the toaster notifications reference document.
await JSRuntime.InvokeVoidAsync("Alert", "success", "Notification Title", "Notification message.");
await JSRuntime.InvokeVoidAsync("Alert", "error", "Notification Title", "Notification message.");
await JSRuntime.InvokeVoidAsync("Alert", "warning", "Notification Title", "Notification message.");
await JSRuntime.InvokeVoidAsync("Alert", "notice", "Notification Title", "Notification message.");
Alert("success", "Notification Title", "Notificaiton message.");
Alert("error", "Notification Title", "Notificaiton message.");
Alert("warning", "Notification Title", "Notificaiton message.");
Alert("notice", "Notification Title", "Notificaiton message.");