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.
getter/setter pair
data Uint8List
The actual bytes of the message.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
port int
The port of the socket which sends the data.
getter/setter pair
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