copyWith method

CognitoIdentityCredentialsProvider copyWith({
  1. String? poolId,
  2. String? region,
})

Implementation

CognitoIdentityCredentialsProvider copyWith({
  String? poolId,
  String? region,
}) {
  return CognitoIdentityCredentialsProvider(
    poolId: poolId ?? this.poolId,
    region: region ?? this.region,
  );
}