LRS class abstract

Implementers

Constructors

LRS()

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

about() Future<LRSResponse<About>>
Method used to determine the LRS version
clearState(Activity? activity, Agent? agent, {String? registration}) Future<LRSResponse>
Remove all state values
deleteActivityProfile(ActivityProfileDocument profile) Future<LRSResponse>
Remove an activity profile
deleteAgentProfile(AgentProfileDocument profile) Future<LRSResponse>
Remove an agent profile
deleteState(StateDocument state) Future<LRSResponse>
Remove a state value
moreStatements(String? moreURL) Future<LRSResponse<StatementsResult>?>
Fetch more statements from a previous query
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryStatements(StatementsQuery query) Future<LRSResponse<StatementsResult>>
Fetch a set of statements
retrieveActivity(String id) Future<LRSResponse<Activity>>
Retrieve a full description of an Activity from the LRS
retrieveActivityProfile(String id, Activity? activity) Future<LRSResponse<ActivityProfileDocument>>
Retrieve an activity profile value
retrieveActivityProfileIds(Activity? activity) Future<LRSResponse<List<String>>>
Retrieve the list of IDs for an activity profile
retrieveAgentProfile(String id, Agent? agent) Future<LRSResponse<AgentProfileDocument>>
Retrieve an agent profile by id and agent in document identifier
retrieveAgentProfileIds(Agent? agent, {DateTime? since}) Future<LRSResponse<List<String>>>
Retrieve the list of profileIds for an agent profile
retrievePerson(Agent? agent) Future<LRSResponse<Person>>
Retrieve an agent
retrieveState(String? id, Activity? activity, Agent? agent, {String? registration}) Future<LRSResponse<StateDocument>>
Retrieve a state value by id with activity in document identifier and agent in document identifier
retrieveStateIds(Activity? activity, Agent? agent, {String? registration, DateTime? since}) Future<LRSResponse<List<String>>>
Retrieve the list of IDs for a state optionally limit retrieved states to those associated with a registration and/or those states stored since a specified time
retrieveStatement(String? id, [bool attachments = false]) Future<LRSResponse<Statement>>
Retrieve a statement by id optionally include attachments in multipart response (default: false)
retrieveVoidedStatement(String id, [bool attachments = false]) Future<LRSResponse<Statement>>
Retrieve a voided statement by id optionally include attachments in multipart response (default: false)
saveActivityProfile(ActivityProfileDocument profile) Future<LRSResponse>
Save an activity profile
saveAgentProfile(AgentProfileDocument profile) Future<LRSResponse>
Save an agent profile
saveState(StateDocument state) Future<LRSResponse>
Save a state value
saveStatement(Statement statement) Future<LRSResponse<Statement>>
Save a statement to the LRS
saveStatements(List<Statement> statements) Future<LRSResponse<StatementsResult>>
Save a set of statements to the LRS
toString() String
A string representation of this object.
inherited
updateActivityProfile(ActivityProfileDocument profile) Future<LRSResponse>
Update an existing activity profile
updateAgentProfile(AgentProfileDocument profile) Future<LRSResponse>
Update an existing agent profile
updateState(StateDocument state) Future<LRSResponse>
Update an existing state value

Operators

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