switchCamera method
12.2 Switch front or rear camera
Implementation
@override
Future<int?> switchCamera(bool isFrontCamera) async {
TRTCCloud trtcCloud = (await TRTCCloud.sharedInstance())!;
return trtcCloud.getDeviceManager().switchCamera(isFrontCamera);
}