stop method

Future<void> stop(
  1. Participant participant
)

Disables the local participant's video and stops sending the video to a conference. Use this method only when the current participant is at the conference. Otherwise, the application emits an exception in the catch block of the promise.

Implementation

Future<void> stop(Participant participant) async {
  return await _methodChannel.invokeMethod<void>(
    "stop",
    participant.toJson(),
  );
}