trim method

TransformationData trim(
  1. int? threshold
)

Method for Basic Transformations

  • threshold : threshold (Default: 10)

Returns TransformationData.

Implementation

TransformationData trim(
  int? threshold,
) {
  // Determine if there are values to add to the dictionary

  var values = <String, String>{};

  if (threshold != null) {
    values['t'] = threshold.toString();
  }

  return TransformationData(plugin: 't', name: 'trim', values: values);
}