EmailTemplate.fromJson constructor

EmailTemplate.fromJson(
  1. Map json_
)

Implementation

EmailTemplate.fromJson(core.Map json_)
    : this(
        body: json_.containsKey('body') ? json_['body'] as core.String : null,
        format: json_.containsKey('format')
            ? json_['format'] as core.String
            : null,
        from: json_.containsKey('from') ? json_['from'] as core.String : null,
        fromDisplayName: json_.containsKey('fromDisplayName')
            ? json_['fromDisplayName'] as core.String
            : null,
        replyTo: json_.containsKey('replyTo')
            ? json_['replyTo'] as core.String
            : null,
        subject: json_.containsKey('subject')
            ? json_['subject'] as core.String
            : null,
      );