NotificationArgs.fromMap constructor
Implementation
NotificationArgs.fromMap(Map<String, dynamic> json) {
if (json != null) {
title = json['title'];
text = json['text'];
msg = json['msg'];
ts = DateTime.now();
payload = json['payload'] != null
? NotificationPayload.fromMap(json['payload'])
: null;
}
}