EmailAddress.fromJson constructor

EmailAddress.fromJson(
  1. Map json_
)

Implementation

EmailAddress.fromJson(core.Map json_)
    : this(
        customType: json_.containsKey('customType')
            ? json_['customType'] as core.String
            : null,
        emailAddress: json_.containsKey('emailAddress')
            ? json_['emailAddress'] as core.String
            : null,
        emailUrl: json_.containsKey('emailUrl')
            ? json_['emailUrl'] as core.String
            : null,
        primary: json_.containsKey('primary')
            ? json_['primary'] as core.bool
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );