copyWith method

Status copyWith({
  1. String? statusId,
  2. String? name,
  3. ApiColor? color,
  4. String? updatedAt,
})

Implementation

Status copyWith({  String? statusId,
  String? name,
  ApiColor? color,
  String? updatedAt,
}) => Status(  statusId: statusId ?? this.statusId,
  name: name ?? this.name,
  color: color ?? this.color,
  updatedAt: updatedAt ?? this.updatedAt,
);