CreateRequest constructor

CreateRequest({
  1. required int requestId,
  2. required String requestDetailsJson,
})

Implementation

CreateRequest({
  /// An opaque identifier for the request.
  required int requestId,

  /// The `PublicKeyCredentialCreationOptions` passed to
  /// `navigator.credentials.create()`, serialized as a JSON
  /// string. The serialization format is compatible with <a
  /// href="https://w3c.github.io/webauthn/#sctn-parseCreationOptionsFromJSON">
  /// `PublicKeyCredential.parseCreationOptionsFromJSON()`</a>.
  required String requestDetailsJson,
}) : _wrapped = $js.CreateRequest(
        requestId: requestId,
        requestDetailsJson: requestDetailsJson,
      );