Datagram class final

A data packet received by a RawDatagramSocket.

Constructors

Datagram(Uint8List data, InternetAddress address, int port)

Properties

address ↔ InternetAddress
The address of the socket which sends the data.
read / write
data ↔ Uint8List
The actual bytes of the message.
read / write
hashCode → int
The hash code for this object.
read-onlyinherited
port ↔ int
The port of the socket which sends the data.
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

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