Notification.fromJson constructor
Notification.fromJson(
- Map json
Initialize a newly created instance based on the given JSON data.
Implementation
factory Notification.fromJson(Map json) {
return Notification(json[Notification.EVENT],
json[Notification.PARAMS] as Map<String, Object?>);
}