ListUserPoolsResponse.fromJson constructor
Implementation
factory ListUserPoolsResponse.fromJson(Map<String, dynamic> json) {
return ListUserPoolsResponse(
nextToken: json['NextToken'] as String?,
userPools: (json['UserPools'] as List?)
?.whereNotNull()
.map((e) =>
UserPoolDescriptionType.fromJson(e as Map<String, dynamic>))
.toList(),
);
}