copyWith method

Feature copyWith({
  1. String? name,
  2. String? identifier,
  3. int? value,
})

Implementation

Feature copyWith({
  String? name,
  String? identifier,
  int? value,
}) {
  return Feature(
    name: name ?? this.name,
    identifier: identifier ?? this.identifier,
    value: value ?? this.value,
  );
}