ListUserPoolClientsResponse.fromJson constructor

ListUserPoolClientsResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ListUserPoolClientsResponse.fromJson(Map<String, dynamic> json) {
  return ListUserPoolClientsResponse(
    nextToken: json['NextToken'] as String?,
    userPoolClients: (json['UserPoolClients'] as List?)
        ?.whereNotNull()
        .map((e) =>
            UserPoolClientDescription.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}