getParameters method

Future<CameraParameters> getParameters()

Returns the current settings for this Camera service.

If modifications are made to the returned Parameters, they must be passed to setParameters to take effect.

Throws PlatformException if reading parameters fails; usually this would be because of a hardware or other low-level error, or because release has been called on this Camera instance.

Implementation

Future<CameraParameters> getParameters() async {
  return await _channel.$getParameters(this) as CameraParameters;
}