switchCamera method

  1. @override
Future<void> switchCamera(
  1. CameraFacing facing
)
override

Implementation

@override
Future<void> switchCamera(CameraFacing facing) =>
    _commandChannel.invokeMethod<void>('switchCamera', {
      'facing': facing.index,
    });