copyWith method
Implementation
EntityDocument copyWith({enums.EntityDocumentType? type, String? number}) {
return EntityDocument(
type: type ?? this.type, number: number ?? this.number);
}
EntityDocument copyWith({enums.EntityDocumentType? type, String? number}) {
return EntityDocument(
type: type ?? this.type, number: number ?? this.number);
}