NotificationEvent.fromData constructor
NotificationEvent.fromData(
- dynamic data
Implementation
factory NotificationEvent.fromData(dynamic data) {
return NotificationEvent(messageList: jsonDecode(data));
}