isCameraTorchSupported method Null safety

Future<bool?> isCameraTorchSupported()

Checks whether the camera flash function is supported.

Ensure that you call this method after the camera starts, for example, by calling startPreview or joinChannel.


  • true: The device supports the camera flash function.
  • false: The device does not the support camera flash function.


Future<bool?> isCameraTorchSupported() {
  return _invokeMethod('isCameraTorchSupported');