unpublish method Null safety

Future<void> unpublish()

sends unpublish request on current active JanusVideoRoomPlugin to tear off active PeerConnection in-effect leaving the room.

Implementation

Future<void> unpublish() async {
  await this.send(data: {"request": "unpublish"});
}