Event class

Constructors

Event({int? id, String? userID, String? clientUserID, required String issuer, String? event, String? ip, String? location, String? timestamp, String? method, bool? newEvent, bool? approved, String? signature})
Event.fromJson(Map<String, dynamic> json)
factory

Properties

approved bool?
getter/setter pair
clientUserID String?
getter/setter pair
event String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int?
getter/setter pair
ip String?
getter/setter pair
issuer String
getter/setter pair
location String?
getter/setter pair
method String?
getter/setter pair
newEvent bool?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature String?
getter/setter pair
timestamp String?
getter/setter pair
userID String?
getter/setter pair

Methods

constructApprovedEventJSON({required String codeOrSignature, required String publicKey, String? algorithm}) Future<Map<String, dynamic>>
constructApprovedEventMsg() String
constructPendingEventJSON() Future<Map<String, dynamic>>
constructRespondEventJSON({required String method, required String codeOrSignature, required String publicKey, String? algorithm}) Future<Map<String, dynamic>>
constructRespondEventMsg() String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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

Static Methods

createWithClientUserID({required String apiKeyID, required String clientUserID, required String event, required String timestamp, required String method}) Event
createWithCotterUserID({required String apiKeyID, required String? cotterUserID, required String event, required String timestamp, required String method}) Event