blur method

void blur(
  1. int blur
)

The blur parameter allows you to decrease the focus and clarity of a given image. To specify the extent to which you need to increase the blurriness of an image, use any decimal number (float) between 1 and 1000.

For more details, Read documentation: https://www.contentstack.com/docs/developers/apis/image-delivery-api/#blur

Example:

final stack = contentstack.Stack(apiKey, deliveryToken, environment);
final imageTransformation = stack.imageTransform(imageUrl);
final response = await imageTransformation.blur(3).fetch();

Implementation

void blur(int blur) {
  query.append('blur', blur.toString());
}