Session class Null safety

Constructors

Session({Map<String, dynamic>? json})
Session.fromJson(Map<String, dynamic> json)
factory

Properties

device Device?
read / write
expiry int?
read / write
hashCode int
The hash code for this object.
read-onlyinherited
refreshToken String?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
token String?
read / write
tokenType String?
read / write
user User?
read / write

Methods

copyFromJson(Map<String, dynamic> json) Session
fromJson(Map<String, dynamic>? json) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited