CreateUserPoolClientResponse.fromJson constructor

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

Implementation

factory CreateUserPoolClientResponse.fromJson(Map<String, dynamic> json) {
  return CreateUserPoolClientResponse(
    userPoolClient: json['UserPoolClient'] != null
        ? UserPoolClientType.fromJson(
            json['UserPoolClient'] as Map<String, dynamic>)
        : null,
  );
}