RestoreCredentialUnsupportedException class

This exception is thrown when the Android Restore Credentials APIs are called on a platform that does not have them: any platform other than Android, or an Android version below API 28.

Platforms: Android, iOS, macOS, Web, Windows

Suggestions:

  • Only call the restore credential methods on Android, for example by checking defaultTargetPlatform == TargetPlatform.android first.
Implemented types

Constructors

RestoreCredentialUnsupportedException([String? message])
Constructor

Properties

hashCode int
The hash code for this object.
no setterinherited
message String?
The error message, if any.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited