SearchContactsResponse.fromJson constructor
Implementation
factory SearchContactsResponse.fromJson(Map<String, dynamic> json) {
return SearchContactsResponse(
contacts: (json['Contacts'] as List?)
?.whereNotNull()
.map((e) => ContactData.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['NextToken'] as String?,
totalCount: json['TotalCount'] as int?,
);
}