TimeInterval<T> class

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

Constructors

TimeInterval(T value, Duration interval)
Constructs a snapshot of a Stream, containing the Stream's event at the specified interval as value.

Properties

hashCode → int
The hash code for this object. [...]
read-only
interval → Duration
The interval at which this snapshot was taken
final
value → T
The value at the moment of interval
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. [...]