Statement class

Constructors

Statement({String? id, DateTime? stored, Agent? authority, Version? version, Agent? actor, Verb? verb, StatementTarget? object, Result? result, Context? context, DateTime? timestamp, List<Attachment>? attachments})

Properties

actor Agent?
final
attachments List<Attachment>?
final
authority Agent?
final
context Context?
final
hashCode int
The hash code for this object.
no setterinherited
id String?
final
object StatementTarget?
final
result Result?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stored DateTime?
final
timestamp DateTime?
final
verb Verb?
final
version Version?
final

Methods

copyWith({String? id, DateTime? stored, Agent? authority, Version? version, Agent? actor, Verb? verb, StatementTarget? object, Result? result, Context? context, DateTime? timestamp, List<Attachment>? attachments, bool? voided}) Statement
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

Static Methods

fromJson(Map<String, dynamic>? json) Statement?
fromMixedMultipart(String? boundary, dynamic body) List<Statement>