hasFlash method

Future<bool> hasFlash({
  1. String? deviceId,
})

Check if the current camera has flash/torch support

Implementation

Future<bool> hasFlash({String? deviceId}) async {
  return await _platformInstance.hasFlash(deviceId: deviceId);
}