FirebasePnvPlatform class abstract
The platform interface that all firebase_pnv platform implementations
must extend.
This class exists so that platform-specific implementations (currently only Android, with iOS providing a graceful stub) can be swapped out without changing the public FirebasePnv API surface. Most consumers of this package will never need to interact with this class directly.
- Inheritance
-
- Object
- PlatformInterface
- FirebasePnvPlatform
- Implementers
Constructors
- FirebasePnvPlatform()
- Constructs a FirebasePnvPlatform.
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
-
checkSupport(
) → Future< bool> - Checks whether the current device and SIM card(s) support Firebase Phone Number Verification (PNV).
-
enableTestSession(
String token) → Future< void> - Enables a Firebase PNV test session using a token generated from the Firebase console's Security > Phone Verification > Testing tab.
-
getVerifiedPhoneNumber(
) → Future< Map< String, dynamic> ?> - Runs the full Firebase PNV verification flow.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ FirebasePnvPlatform
-
The default instance of FirebasePnvPlatform to use.
getter/setter pair