sendUdpMessage method
Implementation
void sendUdpMessage(String message, InternetAddress address, int port) {
if (_udpSocket != null) {
final data = Uint8List.fromList(message.codeUnits);
_udpSocket?.send(data, address, port);
}
}
void sendUdpMessage(String message, InternetAddress address, int port) {
if (_udpSocket != null) {
final data = Uint8List.fromList(message.codeUnits);
_udpSocket?.send(data, address, port);
}
}