isCameraTorchSupported method

FutureOr<bool> isCameraTorchSupported()

@hidden(macOS) @detail api @brief Detects whether the currently used camera supports flash. @return - true: support fill light - false: not support fill light

Implementation

FutureOr<bool> isCameraTorchSupported() async {
  return await nativeCall('isCameraTorchSupported', []);
}