enableLocalVideo method Null safety

Future<int> enableLocalVideo(
  1. bool enable
)

Enable or disable the local video capture and publishing.

enable - true: Enable the local video; false: disable the local video

Implementation

Future<int> enableLocalVideo(bool enable) async {
  IntValue reply = await _api.enableLocalVideo(BoolValue()..value = enable);
  return reply.value ?? -1;
}