Webpush.fromJson constructor
Implementation
factory Webpush.fromJson(Map<String, dynamic> json) => Webpush(
headers: json["headers"] == null
? null
: WebpushHeaders.fromJson(json["headers"]),
notification: json["notification"] == null
? null
: WebpushNotification.fromJson(json["notification"]),
fcmOptions: json["fcm_options"] == null
? null
: WebpushFcmOptions.fromJson(json["fcm_options"]),
);