ModifyPageOptions constructor

ModifyPageOptions({
  1. ImageRotation rotation = ImageRotation.NONE,
  2. List<Point<double>>? polygon,
  3. List<ParametricFilter>? filters,
  4. DocumentStraighteningParameters? straighteningParameters,
})

Implementation

ModifyPageOptions({
  this.rotation = ImageRotation.NONE,
  List<Point<double>>? polygon,
  List<ParametricFilter>? filters,
  DocumentStraighteningParameters? straighteningParameters,
})  : polygon = polygon ?? null,
      filters = filters ?? null,
      straighteningParameters = straighteningParameters ?? null;