copyWith method

ScloudConfig copyWith({
  1. String? projectId,
  2. String? dartSdk,
  3. String? appDir,
  4. Map<FlutterPlatform, String>? appIdentifiers,
  5. ScloudScripts? scripts,
})

Implementation

ScloudConfig copyWith({
  String? projectId,
  String? dartSdk,
  String? appDir,
  Map<FlutterPlatform, String>? appIdentifiers,
  ScloudScripts? scripts,
}) {
  return ScloudConfig(
    projectId: projectId ?? this.projectId,
    dartSdk: dartSdk ?? this.dartSdk,
    appDir: appDir ?? this.appDir,
    appIdentifiers: appIdentifiers ?? this.appIdentifiers,
    scripts: scripts ?? this.scripts,
  );
}