getMinExposureOffset method Null safety

Future<double> getMinExposureOffset()

Gets the minimum supported exposure offset for the selected camera in EV units.

Implementation

Future<double> getMinExposureOffset() async {
  _throwIfNotInitialized('getMinExposureOffset');
  try {
    return CameraPlatform.instance.getMinExposureOffset(_cameraId);
  } on PlatformException catch (e) {
    throw CameraException(e.code, e.message);
  }
}