DefaultPushNotificationTemplate.fromJson constructor
Implementation
factory DefaultPushNotificationTemplate.fromJson(Map<String, dynamic> json) {
return DefaultPushNotificationTemplate(
action: (json['Action'] as String?)?.toAction(),
body: json['Body'] as String?,
sound: json['Sound'] as String?,
title: json['Title'] as String?,
url: json['Url'] as String?,
);
}