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] as String,
json[Notification.PARAMS] as Map<String, Object>);
}