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.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp DateTime
The time at which this snapshot was taken
final
value → T
The value at the moment of the timestamp
final

Methods

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

Operators

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