copyWith method

HomeSubcat copyWith({
  1. int? id,
  2. String? label,
})

Implementation

HomeSubcat copyWith({
  int? id,
  String? label,
}) => HomeSubcat(
  id: id ?? this.id,
  label: label ?? this.label,
);