ConnectionMetrics class

Connection metrics

Constructors

ConnectionMetrics.new({required PeerId peerId, required DateTime startTime})

Properties

bytesIn int
getter/setter pair
bytesOut int
getter/setter pair
duration Duration
Gets the connection duration
no setter
hashCode int
The hash code for this object.
no setterinherited
peerId PeerId
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startTime DateTime
final
totalBytes int
Gets the total bytes transferred
no setter

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