NotifyEmailType.fromJson constructor

NotifyEmailType.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory NotifyEmailType.fromJson(Map<String, dynamic> json) {
  return NotifyEmailType(
    subject: json['Subject'] as String,
    htmlBody: json['HtmlBody'] as String?,
    textBody: json['TextBody'] as String?,
  );
}