copyWith method

MailAddress copyWith({
  1. String? personalName,
  2. String? email,
})

Copies this mail address with the given values

Implementation

MailAddress copyWith({String? personalName, String? email}) =>
    MailAddress(personalName ?? this.personalName, email ?? this.email);