whichCamera method

Future<RCRTCCamera> whichCamera()

Implementation

Future<RCRTCCamera> whichCamera() async {
  int code = await _channel.invokeMethod('whichCamera') ?? -1;
  if (code != 0) return RCRTCCamera.none;
  return RCRTCCamera.values[code + 1];
}