detect method

TransformationData detect(
  1. bool? detecttext
)

Method for Watermark Detection Plugin

  • detecttext : Detect Text (Default: false)

Returns TransformationData.

Implementation

TransformationData detect(
  bool? detecttext,
) {
  // Determine if there are values to add to the dictionary

  var values = <String, String>{};

  if (detecttext != null) {
    values['detect_text'] = detecttext.toString();
  }

  return TransformationData(plugin: 'wmc', name: 'detect', values: values);
}