params method

List<Param?> params()

Implementation

List<Param?> params() {
  return [
    Param("c", actionType),
    dimensions.getWidthParam(),
    dimensions.getHeightParam(),
    (relative == true) ? Param("fl", "relative") : null,
    (regionRelative == true) ? Param("fl", "region_relative") : null,
    (dimensions.aspectRatio == AspectRatio.ignoreInitialAspectRatio)
        ? Param("fl", "ignore_aspect_ratio")
        : dimensions.getAspectRatioParam()
  ];
}