PhoneNumberAuthenticationSettings class
Constructors
-
PhoneNumberAuthenticationSettings({required bool allowFlashCall, required bool allowMissedCall, required bool isCurrentPhoneNumber, required bool allowSmsRetrieverApi, required List<
String> authenticationTokens}) -
Contains settings for the authentication of the user's phone number
const
-
PhoneNumberAuthenticationSettings.fromJson(Map<
String, dynamic> json) -
Parse from a json
factory
Properties
- allowFlashCall → bool
-
allowFlashCall Pass true if the authentication code may be sent via a flash call to the specified phone number
final
- allowMissedCall → bool
-
allowMissedCall Pass true if the authentication code may be sent via a missed call to the specified phone number
final
- allowSmsRetrieverApi → bool
-
allowSmsRetrieverApi For official applications only. True, if the application can use Android SMS Retriever API (requires Google Play Services
final
-
authenticationTokens
→ List<
String> -
authenticationTokens List of up to 20 authentication tokens, recently received in updateOption("authentication_token") in previously logged out sessions
final
- clientId → int?
-
client identifier
no setterinherited
- extra → dynamic
-
callback sign
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCurrentPhoneNumber → bool
-
isCurrentPhoneNumber Pass true if the authenticated phone number is used on the current device
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{bool? allowFlashCall, bool? allowMissedCall, bool? isCurrentPhoneNumber, bool? allowSmsRetrieverApi, List< String> ? authenticationTokens}) → PhoneNumberAuthenticationSettings -
getConstructor(
) → String -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
[dynamic extra]) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CONSTRUCTOR → const String