SimpleAddressType.fromJson constructor

SimpleAddressType.fromJson(
  1. Map json_
)

Implementation

SimpleAddressType.fromJson(core.Map json_)
    : this(
        city: json_.containsKey('city') ? json_['city'] as core.String : null,
        line1:
            json_.containsKey('line1') ? json_['line1'] as core.String : null,
        line2:
            json_.containsKey('line2') ? json_['line2'] as core.String : null,
        line3:
            json_.containsKey('line3') ? json_['line3'] as core.String : null,
        locationName: json_.containsKey('locationName')
            ? json_['locationName'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        zip: json_.containsKey('zip') ? json_['zip'] as core.String : null,
      );