copyWithWrapped method

EntityDocument copyWithWrapped({
  1. Wrapped<EntityDocumentType>? type,
  2. Wrapped<String>? number,
})

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));
}