Android.fromJson constructor
Implementation
factory Android.fromJson(Map<String, dynamic> json) => Android(
priority: json["priority"],
secondsToShow:
double.tryParse(json["ttl"].toString().replaceAll('s', '')),
notification: json["notification"] == null
? null
: AndroidNotification.fromJson(json["notification"]),
fcmOptions: json["fcm_options"] == null
? null
: AndroidFcmOptions.fromJson(json["fcm_options"]),
);