AvailabilityTypeWeb constructor

AvailabilityTypeWeb({
  1. required bool hasPasskeySupport,
  2. required bool isNative,
  3. required bool? isUserVerifyingPlatformAuthenticatorAvailable,
  4. required bool? isConditionalMediationAvailable,
})

Constructs an instance of AvailabilityTypeWeb.

  • hasPasskeySupport: Indicates if the platform supports passkeys.
  • isNative: Should be false for web platforms.
  • isUserVerifyingPlatformAuthenticatorAvailable: Optional; whether user verifying platform authenticators are available.
  • isConditionalMediationAvailable: Optional; whether conditional mediation is available on the web platform.

Implementation

AvailabilityTypeWeb({
  required super.hasPasskeySupport,
  required super.isNative,
  required this.isUserVerifyingPlatformAuthenticatorAvailable,
  required this.isConditionalMediationAvailable,
});