copyWithWrapped method
Implementation
EntityDocument copyWithWrapped(
{Wrapped<enums.EntityDocumentType>? type, Wrapped<String>? number}) {
return EntityDocument(
type: (type != null ? type.value : this.type),
number: (number != null ? number.value : this.number));
}