$ContactInfo.fromJson constructor
$ContactInfo.fromJson(
- Map json_
Implementation
$ContactInfo.fromJson(core.Map json_)
: this(
countryCode: json_.containsKey('countryCode')
? json_['countryCode'] as core.String
: null,
hashedEmails: json_.containsKey('hashedEmails')
? (json_['hashedEmails'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
hashedFirstName: json_.containsKey('hashedFirstName')
? json_['hashedFirstName'] as core.String
: null,
hashedLastName: json_.containsKey('hashedLastName')
? json_['hashedLastName'] as core.String
: null,
hashedPhoneNumbers: json_.containsKey('hashedPhoneNumbers')
? (json_['hashedPhoneNumbers'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
zipCodes: json_.containsKey('zipCodes')
? (json_['zipCodes'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);