Closed AlanNunes closed 3 years ago
I'm stuck with the same problem.
Hi, you just change from:
public class MyClass : Notifiable {
to
public class MyClass : Notifiable<Notification> {
Where Notification
is the base notification class, which contains two properties, Key
and Message
.
You can create your custom notification class and use it here also.
Also there`s a sample on the root folder of this repo: https://github.com/andrebaltieri/Flunt/tree/main/Flunt.Samples
Thank you, @andrebaltieri.
The contents in Wiki are out of date. The sample 0.3 Notifications is not working in latest versions.