copyWith method

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

Implementation

FDXParty copyWith(
    {String? name,
    enums.FDXPartyType? type,
    String? homeUri,
    String? logoUri,
    enums.FDXPartyRegistry? registry,
    String? registeredEntityName,
    String? registeredEntityId}) {
  return FDXParty(
      name: name ?? this.name,
      type: type ?? this.type,
      homeUri: homeUri ?? this.homeUri,
      logoUri: logoUri ?? this.logoUri,
      registry: registry ?? this.registry,
      registeredEntityName: registeredEntityName ?? this.registeredEntityName,
      registeredEntityId: registeredEntityId ?? this.registeredEntityId);
}