switchVideo method Null safety
- {bool isOn = false}
switch local video on/off. ///just pass false or true to switchVideo
Implementation
Future<void> switchVideo({bool isOn = false}) async {
return await PlatformService.invokeMethod(PlatformMethod.switchVideo,
arguments: {'is_on': isOn});
}