CognitoUserPoolConfig.fromJson constructor

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

Implementation

factory CognitoUserPoolConfig.fromJson(Map<String, dynamic> json) {
  return CognitoUserPoolConfig(
    awsRegion: json['awsRegion'] as String,
    userPoolId: json['userPoolId'] as String,
    appIdClientRegex: json['appIdClientRegex'] as String?,
  );
}