copyWithWrapped method

EmailDTO copyWithWrapped({
  1. Wrapped<String?>? name,
  2. Wrapped<String?>? email,
})

Implementation

EmailDTO copyWithWrapped({Wrapped<String?>? name, Wrapped<String?>? email}) {
  return EmailDTO(
      name: (name != null ? name.value : this.name),
      email: (email != null ? email.value : this.email));
}