copyWith method
Implementation
DocumentMetadata copyWith(
{String? name, String? status, String? docId, enums.DocType? docType}) {
return DocumentMetadata(
name: name ?? this.name,
status: status ?? this.status,
docId: docId ?? this.docId,
docType: docType ?? this.docType);
}