FlutterReachFiveAndroid class

The interface that implementations of flutter_reach_five must implement.

Platform implementations should extend this class rather than implement it as FlutterReachFive. Extending this class (using extends) ensures that the subclass will get the default implementation, while platform implementations that implements this interface will be broken by newly added FlutterReachFivePlatform methods

The Android implementation of FlutterReachFivePlatform.

Inheritance
  • Object
  • PlatformInterface
  • FlutterReachFiveAndroid

Constructors

FlutterReachFiveAndroid()

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
reachFiveHostApi ↔ ReachFiveHostApi
The default instance of ReachFiveHostApi to use
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getProfile({required ReachFiveKeyInterface reachFiveKey, required AuthTokenInterface authToken}) Future<ProfileInterface>
inherited
initialize(ReachFiveKeyInterface reachFiveKey) Future<ReachFiveConfigInterface>
inherited
loginWithPassword({required ReachFiveKeyInterface reachFiveKey, required String password, String? email, String? phoneNumber, List<String>? scope}) Future<AuthTokenInterface>
inherited
loginWithProvider({required ReachFiveKeyInterface reachFiveKey, required String provider, required String origin, List<String>? scope}) Future<AuthTokenInterface>
inherited
logout({required ReachFiveKeyInterface reachFiveKey}) Future<void>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseError(Object error, StackTrace stackTrace) → Never
method used to parse the error on the differents platform
refreshAccessToken({required ReachFiveKeyInterface reachFiveKey, required AuthTokenInterface authToken}) Future<AuthTokenInterface>
inherited
requestPasswordReset({required ReachFiveKeyInterface reachFiveKey, String? email, String? phoneNumber, String? redirectUrl}) Future<void>
inherited
signup({required ReachFiveKeyInterface reachFiveKey, required ProfileSignupRequestInterface profile, String? redirectUrl, List<String>? scope}) Future<AuthTokenInterface>
inherited
toString() String
A string representation of this object.
inherited
updatePasswordWithAccessToken({required ReachFiveKeyInterface reachFiveKey, required AuthTokenInterface authToken, required String oldPassword, required String newPassword}) Future<void>
inherited
updatePasswordWithEmail({required ReachFiveKeyInterface reachFiveKey, required String email, required String verificationCode, required String newPassword}) Future<void>
inherited
updatePasswordWithFreshAccessToken({required ReachFiveKeyInterface reachFiveKey, required AuthTokenInterface freshAuthToken, required String newPassword}) Future<void>
inherited
updatePasswordWithPhoneNumber({required ReachFiveKeyInterface reachFiveKey, required String phoneNumber, required String verificationCode, required String newPassword}) Future<void>
inherited
updateProfile({required ReachFiveKeyInterface reachFiveKey, required AuthTokenInterface authToken, required ProfileInterface profile}) Future<ProfileInterface>
inherited

Operators

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

Static Methods

registerWith() → void
Registers this class as the default instance of FlutterReachFivePlatform