DistortionParameters constructor

DistortionParameters({
  1. String? model,
  2. Iterable<double>? parameters,
})

Implementation

factory DistortionParameters({
  $core.String? model,
  $core.Iterable<$core.double>? parameters,
}) {
  final $result = create();
  if (model != null) {
    $result.model = model;
  }
  if (parameters != null) {
    $result.parameters.addAll(parameters);
  }
  return $result;
}