LocalStore class

Local Storage that holds most data for communication within the app

Properties

ccsid Tokeys?
Compliance CSID object returned from zatca/fatoora
no setter
hashCode int
The hash code for this object.
no setterinherited
myBusinessInfo MyBusinessInfo?
Business information.
getter/setter pair
pcsid Tokeys?
Production CSID object returned from zatca/fatoora
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

init() Future<void>
Initialazing local store.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
switchCertInSDK({bool usePCSID = true}) Future<void>
Used internally by package. Package users don't need this
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance LocalStore
The single LocalStore instance accross usage.
no setter

Static Methods

updateCcsid(Tokeys tokeys) → dynamic
Called to updated ccsid with the passed in object
updatePcsid(Tokeys tokeys) → dynamic
Called to updated pcsid with the passed in object