copyWith method

EnvVariableModel copyWith({
  1. String? key,
  2. String? scope,
  3. String? type,
  4. String? value,
})

Implementation

EnvVariableModel copyWith({
  String? key,
  String? scope,
  String? type,
  String? value,
}) {
  return EnvVariableModel(
    key: key ?? this.key,
    scope: scope ?? this.scope,
    type: type ?? this.type,
    value: value ?? this.value,
  );
}