copyWith method

StatusUpdate copyWith({
  1. String? description,
  2. String? id,
  3. String? name,
  4. StatusUpdateStatusCategory? statusCategory,
})

Implementation

StatusUpdate copyWith(
    {String? description,
    String? id,
    String? name,
    StatusUpdateStatusCategory? statusCategory}) {
  return StatusUpdate(
    description: description ?? this.description,
    id: id ?? this.id,
    name: name ?? this.name,
    statusCategory: statusCategory ?? this.statusCategory,
  );
}