copyWith method
Implementation
@override
DocumentItemModel copyWith({
String? documentID,
String? reference,
PlatformMediumModel? image,
}) {
return DocumentItemModel(
documentID: documentID ?? this.documentID,
reference: reference ?? this.reference,
image: image ?? this.image,
);
}