getFlashMode method
Gets the current flash mode setting.
Returns null
if flash mode setting is not supported.
See: flashModeOff flashModeAuto flashModeOn flashModeOff flashModeTorch
Implementation
Future<String?> getFlashMode() async {
return await _channel.$getFlashMode(this) as String?;
}