copyWith method
Implementation
TaskGalleryPhotoViewModel copyWith(
{int? id,
String? objectId,
String? url,
int? taskId,
DateTime? createdAt}) {
return TaskGalleryPhotoViewModel(
id: id ?? this.id,
objectId: objectId ?? this.objectId,
url: url ?? this.url,
taskId: taskId ?? this.taskId,
createdAt: createdAt ?? this.createdAt);
}