GoogleCloudIdentitytoolkitV1EmailTemplate.fromJson constructor

GoogleCloudIdentitytoolkitV1EmailTemplate.fromJson(
  1. Map _json
)

Implementation

GoogleCloudIdentitytoolkitV1EmailTemplate.fromJson(core.Map _json)
    : this(
        body: _json.containsKey('body') ? _json['body'] as core.String : null,
        customized: _json.containsKey('customized')
            ? _json['customized'] as core.bool
            : null,
        disabled: _json.containsKey('disabled')
            ? _json['disabled'] as core.bool
            : 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,
        fromLocalPart: _json.containsKey('fromLocalPart')
            ? _json['fromLocalPart'] as core.String
            : null,
        locale: _json.containsKey('locale')
            ? _json['locale'] as core.String
            : null,
        replyTo: _json.containsKey('replyTo')
            ? _json['replyTo'] as core.String
            : null,
        subject: _json.containsKey('subject')
            ? _json['subject'] as core.String
            : null,
      );