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