Stats class final

Network traffic statistics.

Constructors

Stats.new({required int bytesTx, required int bytesRx, required int throughputTx, required int throughputRx})

Properties

bytesRx int
Total number of bytes received.
final
bytesTx int
Total number of bytes sent.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
throughputRx int
Current receive throughput in bytes per second.
final
throughputTx int
Current send throughput in bytes per second.
final

Methods

encode(Packer p) → void
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.
override

Static Methods

decode(Unpacker u) Stats?