copyWith method

Feat copyWith({
  1. String? name,
  2. int? value,
})

Implementation

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