SessionManager class

Constructors

SessionManager()

Properties

accessToken → String
final
apiToken → String
final
city → String
final
companyAddress → String
final
contactNo → String
final
country → String
final
deviceToken → String
final
emailAddress → String
final
hashCode → int
The hash code for this object.
no setterinherited
isActive → String
final
isLoggedIn → String
final
loggedInSalesUserId → String
final
masterUserId → String
final
name → String
final
nameSmall → String
final
notificationCount → String
final
profilePic → String
final
retailerUserData → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → String
final
userId → String
final
userIdMain → String
final
userType → String
final
whiteLabelData → String
final

Methods

checkIsLoggedIn() → bool?
createLoginSession(LoginData? data) → Future
getAPIToken() → String?
getCity() → String?
getCompanyAddress() → String?
getContactNo() → String?
getCountry() → String?
getDeviceToken() → String?
getEmail() → String?
getId() → String?
getLoggedInSalesUserId() → String?
getMasterUserId() → String?
getName() → String?
getProfilePic() → String?
getRetailerData() → List<RetailerIdsArrayMap>
getState() → String?
getUnreadNotificationCount() → int?
getUserIdMain() → String?
getUserType() → String?
getWhiteLableData() → WhiteLabelData
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAPIToken(String data) → Future<void>
setDeviceToken(String apiDeviceToken) → Future<void>
setIsLoggedIn(bool isLoginIn) → Future<void>
setLoggedInSalesUserId(String apiDeviceToken) → Future<void>
setRetailerData(List<RetailerIdsArrayMap> listItems) → Future<void>
setUnreadNotificationCount(int count) → Future<void>
setUserId(String data) → Future<void>
setWhiteLableData(WhiteLabelData whiteLabelDetails) → Future<void>
toString() → String
A string representation of this object.
inherited

Operators

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