Tokeys class

The model used by CSIDs

Constructors

Tokeys({required String token, required String secret, required int requestID})
Tokeys constructor

Properties

hashCode → int
The hash code for this object.
no setterinherited
requestID ↔ int
The integer value of CSID request ID.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secret ↔ String
String value of the CSID secret returned by fatoora/zatca
getter/setter pair
token ↔ String
String value of the binary token
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Returns a json equivalent of the CSID object
toJsonString() → String
Returns a String equivalent of the CSID object
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(dynamic json) → Tokeys
Constructs and returns CSID object from a CSID json object