AccountAddress.fromJson constructor

AccountAddress.fromJson(
  1. Map json_
)

Implementation

AccountAddress.fromJson(core.Map json_)
    : this(
        country: json_.containsKey('country')
            ? json_['country'] as core.String
            : null,
        locality: json_.containsKey('locality')
            ? json_['locality'] as core.String
            : null,
        postalCode: json_.containsKey('postalCode')
            ? json_['postalCode'] as core.String
            : null,
        region: json_.containsKey('region')
            ? json_['region'] as core.String
            : null,
        streetAddress: json_.containsKey('streetAddress')
            ? json_['streetAddress'] as core.String
            : null,
      );