copyWith method
Creates a copy of this config with updated properties.
Implementation
EnvironmentConfig copyWith({
String? name,
String? flavor,
String? lane,
Map<String, String>? dartDefines,
String? shorebirdAppId,
}) {
return EnvironmentConfig(
name: name ?? this.name,
flavor: flavor ?? this.flavor,
lane: lane ?? this.lane,
dartDefines: dartDefines ?? this.dartDefines,
shorebirdAppId: shorebirdAppId ?? this.shorebirdAppId,
);
}