supportedFlashModes method

Future<List<int>> supportedFlashModes()

The flash settings this capture output currently supports.

To set the flash mode for a capture, set the setFlashMode method of your photo settings object to one of the CaptureFlashMode values listed in this list.

Implementation

Future<List<int>> supportedFlashModes() async {
  final List<Object?> supportedModes =
      await _channel.$supportedFlashModes(this) as List<Object?>;
  return supportedModes.cast<int>();
}