copyWithWrapped method

FDXParty copyWithWrapped({
  1. Wrapped<String>? name,
  2. Wrapped<FDXPartyType>? type,
  3. Wrapped<String?>? homeUri,
  4. Wrapped<String?>? logoUri,
  5. Wrapped<FDXPartyRegistry?>? registry,
  6. Wrapped<String?>? registeredEntityName,
  7. Wrapped<String?>? registeredEntityId,
})

Implementation

FDXParty copyWithWrapped(
    {Wrapped<String>? name,
    Wrapped<enums.FDXPartyType>? type,
    Wrapped<String?>? homeUri,
    Wrapped<String?>? logoUri,
    Wrapped<enums.FDXPartyRegistry?>? registry,
    Wrapped<String?>? registeredEntityName,
    Wrapped<String?>? registeredEntityId}) {
  return FDXParty(
      name: (name != null ? name.value : this.name),
      type: (type != null ? type.value : this.type),
      homeUri: (homeUri != null ? homeUri.value : this.homeUri),
      logoUri: (logoUri != null ? logoUri.value : this.logoUri),
      registry: (registry != null ? registry.value : this.registry),
      registeredEntityName: (registeredEntityName != null
          ? registeredEntityName.value
          : this.registeredEntityName),
      registeredEntityId: (registeredEntityId != null
          ? registeredEntityId.value
          : this.registeredEntityId));
}