GetAvailability class
Provides platform-specific methods to query the availability of passkeys.
The GetAvailability class acts as a wrapper around the PasskeysPlatform
interface, exposing methods to check the availability of passkeys on different platforms.
Supported methods:
- Web: Queries availability for web-based platforms.
- Android: Queries availability for Android platforms.
- IOS: Queries availability for iOS platforms.
Example Usage
final availabilityChecker = GetAvailability(platform: myPlatformInstance);
final webAvailability = await availabilityChecker.web();
final androidAvailability = await availabilityChecker.android();
final iosAvailability = await availabilityChecker.iOS();
Constructor
- GetAvailability: Requires a PasskeysPlatforminstance to function.
Constructors
- GetAvailability({required PasskeysPlatform platform})
Properties
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
Methods
- 
  android() → Future< AvailabilityTypeAndroid> 
- Queries the availability of passkeys for Android platforms.
- 
  iOS() → Future< AvailabilityTypeIOS> 
- Queries the availability of passkeys for iOS platforms.
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
- 
  web() → Future< AvailabilityTypeWeb> 
- Queries the availability of passkeys for web-based platforms.
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited