getMaxExposureOffset method Null safety

Future<double> getMaxExposureOffset()

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

Implementation

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