CredentialRequestOptions constructor

CredentialRequestOptions({
  1. CredentialMediationRequirement? mediation,
  2. AbortSignal? signal,
})

Implementation

factory CredentialRequestOptions(
        {CredentialMediationRequirement? mediation, AbortSignal? signal}) =>
    CredentialRequestOptions._(
        mediation:
            mediation?.value ?? CredentialMediationRequirement.optional.value,
        signal: signal ?? undefined);