ReturnAddressAddress.fromJson constructor
ReturnAddressAddress.fromJson(
- Map json_
Implementation
ReturnAddressAddress.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,
recipientName: json_.containsKey('recipientName')
? json_['recipientName'] as core.String
: null,
region: json_.containsKey('region')
? json_['region'] as core.String
: null,
streetAddress: json_.containsKey('streetAddress')
? (json_['streetAddress'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);