$setTorchMode method

Future<Object?> $setTorchMode(
  1. $CaptureDevice $instance,
  2. int mode
)

Implementation

Future<Object?> $setTorchMode(
  $CaptureDevice $instance,
  int mode,
) {
  return sendInvokeMethod(
    $instance,
    'setTorchMode',
    <Object?>[
      mode,
    ],
  );
}