Timestamped<T> class

A class that represents a snapshot of the current value emitted by a Stream, at a specified timestamp.

Constructors

Timestamped(DateTime timestamp, T value)
Constructs a snapshot of a Stream, containing the Stream's event at the specified timestamp as value.

Properties

hashCode → int
The hash code for this object. [...]
read-only
timestamp → DateTime
The time at which this snapshot was taken
final
value → T
The value at the moment of the timestamp
final
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

operator ==(Object other) → bool
The equality operator. [...]