StateDocument class

Constructors

StateDocument({Activity? activity, Agent? agent, String? registration, String? id, String? etag, DateTime? timestamp, String? contentType, AttachmentContent? content})
https://github.com/adlnet/xAPI-Spec/blob/master/xAPI-Communication.md#23-state-resource

Properties

activity Activity?
final
agent Agent?
final
content AttachmentContent?
finalinherited
contentType String?
finalinherited
etag String?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
id String?
finalinherited
registration String?
The registration associated with this state (UUID)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp DateTime?
finalinherited

Methods

copyWith({Activity? activity, Agent? agent, String? registration, String? id, String? etag, DateTime? timestamp, String? contentType, AttachmentContent? content}) StateDocument
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([Version? version]) Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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