NupaleSession class

Constructors

NupaleSession({String id = '', String itemId = '', String itemName = '', String ownerEmail = '', String readerEmail = '', Map<int, int> pagesDuration = const {}, int nupale = 0, int createdTime = 0, SubscriptionLevel? subscriptionLevel, bool isTest = false})
NupaleSession.fromJSON(dynamic json)
Create a NupaleSession object from a JSON map.
factory

Properties

createdTime int
REAL Number of Pages Read
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
getter/setter pair
isTest bool
getter/setter pair
itemId String
createdTime in milisecondsSinceEpoch as id
getter/setter pair
itemName String
ID del libro
getter/setter pair
nupale int
getter/setter pair
ownerEmail String
Título del libro
getter/setter pair
pagesDuration Map<int, int>
EMAIL OF READER
getter/setter pair
readerEmail String
EMAIL OF OWNER
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscriptionLevel SubscriptionLevel?
CREATED SESSION TIME IN MILISECONDSSINCEEPOCH
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJSON() Map<String, dynamic>
Convert the NupaleSession object to a JSON map.
toString() String
A string representation of this object.
override

Operators

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