OfflineUserAddressInfo.fromJson constructor

OfflineUserAddressInfo.fromJson(
  1. Map json_
)

Implementation

OfflineUserAddressInfo.fromJson(core.Map json_)
    : this(
        city: json_.containsKey('city') ? json_['city'] as core.String : null,
        countryCode: json_.containsKey('countryCode')
            ? json_['countryCode'] as core.String
            : null,
        hashedFirstName: json_.containsKey('hashedFirstName')
            ? json_['hashedFirstName'] as core.String
            : null,
        hashedLastName: json_.containsKey('hashedLastName')
            ? json_['hashedLastName'] as core.String
            : null,
        hashedStreetAddress: json_.containsKey('hashedStreetAddress')
            ? json_['hashedStreetAddress'] as core.String
            : null,
        postalCode: json_.containsKey('postalCode')
            ? json_['postalCode'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );