Future<int> switchCamera() async { int code = await _channel.invokeMethod('switchCamera') ?? -1; return code; }