copyWith method
StatusUpdate
copyWith({
- String? description,
- String? id,
- String? name,
- 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,
);
}