copyWithWrapped method

SignalPersonName copyWithWrapped({
  1. Wrapped<String?>? prefix,
  2. Wrapped<String?>? givenName,
  3. Wrapped<String?>? middleName,
  4. Wrapped<String?>? familyName,
  5. Wrapped<String?>? suffix,
})

Implementation

SignalPersonName copyWithWrapped(
    {Wrapped<String?>? prefix,
    Wrapped<String?>? givenName,
    Wrapped<String?>? middleName,
    Wrapped<String?>? familyName,
    Wrapped<String?>? suffix}) {
  return SignalPersonName(
      prefix: (prefix != null ? prefix.value : this.prefix),
      givenName: (givenName != null ? givenName.value : this.givenName),
      middleName: (middleName != null ? middleName.value : this.middleName),
      familyName: (familyName != null ? familyName.value : this.familyName),
      suffix: (suffix != null ? suffix.value : this.suffix));
}