StreamStats class

Stores metadata pertaining to a given Stream

Constructors

StreamStats({required Direction direction, required DateTime opened, bool limited = false, Map extra = const {}})

Properties

direction → Direction
Direction specifies whether this is an inbound or an outbound connection
final
extra → Map
Additional metadata about this connection
final
hashCode → int
The hash code for this object.
no setterinherited
limited → bool
Indicates that this connection is limited
final
opened → DateTime
Timestamp when this connection was opened
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

operator ==(Object other) → bool
The equality operator.
inherited