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