copyWith method
Implementation
Status copyWith({
int? id,
String? name,
String? color_code,
String? description,
String? created_at,
String? updated_at,
String? deleted_at,
}) {
return Status(
id: id ?? this.id,
name: name ?? this.name,
color_code: color_code ?? this.color_code,
description: description ?? this.description,
created_at: created_at ?? this.created_at,
updated_at: updated_at ?? this.updated_at,
deleted_at: deleted_at ?? this.deleted_at,
);
}