Closed diegosanfelix closed 3 years ago
Great question! Today Notification class is sealed preventing you to extend it! On version 2, Ill remove sealed modifier and you
ll be able to create your own notifications, for example:
public class Warning : Notification
As Warning is child of notification you can upcast it!
Balta,
Very usefull class.
Wouldn't be nice to have 3 types of notifications (Success, Alert, Error) so we could use the list of notifications to alert to end-users?