DescribeUserPoolResponse.fromJson constructor

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

Implementation

factory DescribeUserPoolResponse.fromJson(Map<String, dynamic> json) {
  return DescribeUserPoolResponse(
    userPool: json['UserPool'] != null
        ? UserPoolType.fromJson(json['UserPool'] as Map<String, dynamic>)
        : null,
  );
}