copyWith method

ItemValue copyWith({
  1. String? name,
  2. String? description,
  3. String? value,
  4. bool? state,
})

Implementation

ItemValue copyWith({
  String? name,
  String? description,
  String? value,
  bool? state,
}) =>
    ItemValue(
      name: name ?? this.name,
      description: description ?? this.description,
      value: value ?? this.value,
      state: state ?? this.state,
    );