TemplateConfiguration.fromJson constructor
TemplateConfiguration.fromJson(
- Map<String, dynamic> json
)
Implementation
factory TemplateConfiguration.fromJson(Map<String, dynamic> json) {
return TemplateConfiguration(
emailTemplate: json['EmailTemplate'] != null
? Template.fromJson(json['EmailTemplate'] as Map<String, dynamic>)
: null,
pushTemplate: json['PushTemplate'] != null
? Template.fromJson(json['PushTemplate'] as Map<String, dynamic>)
: null,
sMSTemplate: json['SMSTemplate'] != null
? Template.fromJson(json['SMSTemplate'] as Map<String, dynamic>)
: null,
voiceTemplate: json['VoiceTemplate'] != null
? Template.fromJson(json['VoiceTemplate'] as Map<String, dynamic>)
: null,
);
}