leaveMulticast method
Leaves a multicast group.
If an error occur when trying to join the multicast group, an exception is thrown.
Implementation
@override
void leaveMulticast(InternetAddress group, [NetworkInterface? interface]) =>
socket.leaveMulticast(group, interface);