copyWith method

AddLoginPasskey copyWith({
  1. String? clientData,
  2. String? attestationObject,
})

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

AddLoginPasskey copyWith({String? clientData, String? attestationObject}) =>
    AddLoginPasskey(
      clientData: clientData ?? this.clientData,
      attestationObject: attestationObject ?? this.attestationObject,
    );