copyWith method

UpdatedProjectCategory copyWith({
  1. String? description,
  2. String? id,
  3. String? name,
  4. String? self,
})

Implementation

UpdatedProjectCategory copyWith(
    {String? description, String? id, String? name, String? self}) {
  return UpdatedProjectCategory(
    description: description ?? this.description,
    id: id ?? this.id,
    name: name ?? this.name,
    self: self ?? this.self,
  );
}