leaveMulticast abstract method Null safety

void leaveMulticast(
  1. InternetAddress group,
  2. [NetworkInterface? interface]
)

Leaves a multicast group.

If an error occur when trying to join the multicast group, an exception is thrown.

Implementation

void leaveMulticast(InternetAddress group, [NetworkInterface? interface]);