RegionPostalCodeArea.fromJson constructor

RegionPostalCodeArea.fromJson(
  1. Map json_
)

Implementation

RegionPostalCodeArea.fromJson(core.Map json_)
    : this(
        postalCodes: json_.containsKey('postalCodes')
            ? (json_['postalCodes'] as core.List)
                .map((value) => RegionPostalCodeAreaPostalCodeRange.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        regionCode: json_.containsKey('regionCode')
            ? json_['regionCode'] as core.String
            : null,
      );