CreateResponseDetails constructor
CreateResponseDetails({
- required int requestId,
- DOMExceptionDetails? error,
- String? responseJson,
Implementation
CreateResponseDetails({
/// The `requestId` of the `CreateRequest`.
required int requestId,
/// The `DOMException` yielded by the remote request, if any.
DOMExceptionDetails? error,
/// The `PublicKeyCredential`, yielded by the remote request, if
/// any, serialized as a JSON string by calling
/// href="https://w3c.github.io/webauthn/#dom-publickeycredential-tojson">
/// `PublicKeyCredential.toJSON()`</a>.
String? responseJson,
}) : _wrapped = $js.CreateResponseDetails(
requestId: requestId,
error: error?.toJS,
responseJson: responseJson,
);