copyWith method

StatusCategory copyWith({
  1. String? self,
  2. int? id,
  3. String? key,
  4. String? colorName,
  5. String? name,
})

Implementation

StatusCategory copyWith(
    {String? self, int? id, String? key, String? colorName, String? name}) {
  return StatusCategory(
    self: self ?? this.self,
    id: id ?? this.id,
    key: key ?? this.key,
    colorName: colorName ?? this.colorName,
    name: name ?? this.name,
  );
}