copyWith method

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

Implementation

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