toggleScreenShare method

Future<MethodResponse> toggleScreenShare(
  1. bool enabled
)

Sets the state of the localParticipant screen sharing according to the enabled parameter.

Implementation

Future<MethodResponse> toggleScreenShare(bool enabled) async {
  return await JitsiMeetPlatform.instance.toggleScreenShare(enabled);
}