SocketStatistic class Null safety

Properties

address → String
The address of the socket.
final
endTime → int?
The time, in microseconds, that this socket was closed.
optional">@optionalfinal
hashCode → int
The hash code for this object.
read-onlyinherited
id → int
The unique ID associated with this socket.
final
lastReadTime → int?
The time, in microseconds, that this socket was last read from.
optional">@optionalfinal
lastWriteTime → int?
The time, in microseconds, that this socket was last written to.
optional">@optionalfinal
port → int
The port of the socket.
final
readBytes → int
The number of bytes read from this socket.
final
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
socketType → String
The type of socket. The value is either tcp or udp.
final
startTime → int
The time, in microseconds, that this socket was created.
final
writeBytes → int
The number of bytes written to this socket.
final

Methods

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

Operators

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

Static Methods

parse(Map<String, dynamic>? json) → SocketStatistic?