CognitoCredentials constructor

CognitoCredentials(
  1. String _identityPoolId,
  2. CognitoUserPool _pool, {
  3. String? region,
  4. String? userPoolId,
})

Implementation

CognitoCredentials(
  this._identityPoolId,
  this._pool, {
  String? region,
  String? userPoolId,
})  : _region = region ?? _pool.getRegion(),
      _client = _pool.client;