GetRequest constructor

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

Implementation

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

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