copyWith method

StatusCreate copyWith({
  1. String? description,
  2. String? name,
  3. StatusCreateStatusCategory? statusCategory,
})

Implementation

StatusCreate copyWith(
    {String? description,
    String? name,
    StatusCreateStatusCategory? statusCategory}) {
  return StatusCreate(
    description: description ?? this.description,
    name: name ?? this.name,
    statusCategory: statusCategory ?? this.statusCategory,
  );
}