SessionEnded class
Constructors
- SessionEnded({bool? loggedIn, String? loginUrl})
- Returns a new SessionEnded instance.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- loggedIn ↔ bool?
-
LoggedIn is always false — this is the answer to having just signed out, so it states the resulting session state rather than reporting the request's outcome. It is not omitempty: false is the whole answer.
getter/setter pair
- loginUrl ↔ String?
-
LoginURL is where to sign in again. Always present, because a caller that has just signed out is exactly the caller who needs it.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → SessionEnded? -
Returns a new SessionEnded instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< SessionEnded> -
mapFromJson(
dynamic json) → Map< String, SessionEnded> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< SessionEnded> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.