FrappeSessionStatusInfo class
Constructors
- FrappeSessionStatusInfo(bool? loggedIn, double? timestamp, {String? currentUser})
-
FrappeSessionStatusInfo.fromJson(Map<
String, dynamic> ? json) -
factory
Properties
- currentUser ↔ String?
-
The current user logged in.
getter/setter pairinherited
- customer ↔ String?
-
getter/setter pair
- employee ↔ String?
-
getter/setter pair
- fullName ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasQuickPinLogin ↔ bool?
-
getter/setter pair
- homePage ↔ String?
-
getter/setter pair
- lang ↔ String?
-
getter/setter pair
- loggedIn ↔ bool?
-
Whether the user is logged in or not.
getter/setter pairinherited
- message ↔ String?
-
getter/setter pair
- mobile ↔ String?
-
getter/setter pair
-
rawSession
↔ Map<
String, dynamic> ? -
Holds the complete JSON retrieved from the backend
This is because each app will have custom fields in the session response.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp ↔ double?
-
The timestamp of the session when updated.
getter/setter pairinherited
- token ↔ String?
-
getter/setter pair
- user ↔ String?
-
getter/setter pair
Methods
-
deserializeList<
T> (List? docs) → List< T> ? -
inherited
-
fromJson<
T> (Map< String, dynamic> ? json) → T -
Returns the target type from json (Map)
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Returns the JSON representation of a type in the form of Map
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited