Stats class

Stats stores metadata pertaining to a given Stream / Conn.

Constructors

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

Properties

direction → Direction
Direction specifies whether this is an inbound or an outbound connection.
final
extra → Map
Extra stores additional metadata about this connection.
final
hashCode → int
The hash code for this object.
no setterinherited
limited → bool
Limited indicates that this connection is Limited.
final
opened → DateTime
Opened is the 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