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);
}