ElectionOfficial.fromJson constructor

ElectionOfficial.fromJson(
  1. Map json_
)

Implementation

ElectionOfficial.fromJson(core.Map json_)
    : this(
        emailAddress: json_.containsKey('emailAddress')
            ? json_['emailAddress'] as core.String
            : null,
        faxNumber: json_.containsKey('faxNumber')
            ? json_['faxNumber'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        officePhoneNumber: json_.containsKey('officePhoneNumber')
            ? json_['officePhoneNumber'] as core.String
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
      );