CreateUserPoolResponse.fromJson constructor

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

Implementation

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