copyWith method
CognitoAppSyncConfig
copyWith({
- String? apiUrl,
- String? region,
- APIAuthorizationType? authMode,
- String? apiKey,
- String? clientDatabasePrefix,
Implementation
CognitoAppSyncConfig copyWith({
String? apiUrl,
String? region,
APIAuthorizationType? authMode,
String? apiKey,
String? clientDatabasePrefix,
}) {
return CognitoAppSyncConfig(
apiUrl: apiUrl ?? this.apiUrl,
region: region ?? this.region,
authMode: authMode ?? this.authMode,
apiKey: apiKey ?? this.apiKey,
clientDatabasePrefix: clientDatabasePrefix ?? this.clientDatabasePrefix,
);
}