AuthKeys class

Create an authorized key class for User:

class AuthKeys extends AuthKeys {
  final address = "address";
  final contact = "contact";

  const AuthKeys._();

  static AuthKeys? _i;

  static AuthKeys get i => _i ??= const AuthKeys._();
}
Inheritance

Constructors

AuthKeys({String id = "id", String timeMills = "time_mills"})
const

Properties

accessToken → String
final
biometric → String
final
email → String
final
extra → String
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
The ID key.
finalinherited
idToken → String
final
keys → Iterable<String>
no setteroverride
loggedIn → String
final
loggedInTime → String
final
loggedOutTime → String
final
name → String
final
password → String
final
phone → String
final
photo → String
final
provider → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeMills → String
The timestamp key.
finalinherited
username → String
final
verified → String
final

Methods

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

i → AuthKeys
no setter

Constants

key → const String