close abstract method Null safety

void close()

Closes the datagram socket.

Implementation

void close();