For technical information read the snackbar notifications reference document.
await JSRuntime.InvokeVoidAsync("Notify", "Notification message.");
Notify("Notificaiton message.");