copyWith method
Implementation
DocumentItemEntity copyWith({
String? documentID,
String? reference,
String? imageId,
}) {
return DocumentItemEntity(
reference: reference ?? this.reference,
imageId: imageId ?? this.imageId,
);
}
DocumentItemEntity copyWith({
String? documentID,
String? reference,
String? imageId,
}) {
return DocumentItemEntity(
reference: reference ?? this.reference,
imageId: imageId ?? this.imageId,
);
}