AuthKeys class

Create an authorized key class for User:

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

  const UserKeys._();

  static UserKeys? _i;

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

Constructors

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

Properties

accessToken String
final
age String
final
anonymous String
final
biometric String
final
email String
final
extra String
final
gender 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 setter
loggedIn String
final
loggedInTime String
final
loggedOutTime String
final
name String
final
online String
final
password String
final
path String
final
phone String
final
photo String
final
platform String
final
provider String
final
random String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeMills String
The timestamp key.
finalinherited
token String
final
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