switchCamera method
Switch camera (supports only the Android and iOS platforms)
Parameters:
isFrontCamera: true: front camera; false: rear camera
Implementation
Future<int?> switchCamera(bool isFrontCamera) async {
var result = await _channel
.invokeMethod('switchCamera', {"isFrontCamera": isFrontCamera});
return V2TXLiveFlutterResult.intValue(result);
}