Address.fromJson constructor

Address.fromJson(
  1. Map json_
)

Implementation

Address.fromJson(core.Map json_)
    : this(
        administrativeArea: json_.containsKey('administrativeArea')
            ? json_['administrativeArea'] as core.String
            : null,
        city: json_.containsKey('city') ? json_['city'] as core.String : null,
        country: json_.containsKey('country')
            ? json_['country'] as core.String
            : null,
        postalCode: json_.containsKey('postalCode')
            ? json_['postalCode'] as core.String
            : null,
        streetAddress: json_.containsKey('streetAddress')
            ? json_['streetAddress'] as core.String
            : null,
      );