xAPIConnectorMain class

Constructors

xAPIConnectorMain()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getPlatformName() String
Detects and returns the string name of the current host operating system platform. Useful for populating context extensions or tracking client environment metadata instead of needing to retype this elsewhere.
inject(LRSInterface lrsImplementation) → void
queryStatements(Map<String, dynamic> queryParameters) Future<Response?>
Queries the LRS for statements based on the provided queryParameters.
send(Statement statement) Future<Response?>
Sends an individual xAPI statement request to the configured LRS. Returns the http.Response from the LRS, or null if uninitialized or if an error occurs.
sendBulkStatements(List<Statement> statements) Future<Response?>
Sends a batch list of xAPI statements in a single bulk request to the configured LRS. Returns the http.Response from the LRS, or null if uninitialized or if an error occurs.