ElectoralDistrict.fromJson constructor

ElectoralDistrict.fromJson(
  1. Map json_
)

Implementation

ElectoralDistrict.fromJson(core.Map json_)
    : this(
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        scope:
            json_.containsKey('scope') ? json_['scope'] as core.String : null,
      );