isAvailable method
Returns true
if ASWebAuthenticationSession
or SFAuthenticationSession is available.
Otherwise returns false
.
Officially Supported Platforms/Implementations:
- iOS
- MacOS
Implementation
Future<bool> isAvailable() {
throw UnimplementedError(
'isAvailable is not implemented on the current platform');
}