detect method
Method for Image Centering Module @param Distance percentage int (Default: 10) @return TransformationData.
Implementation
TransformationData detect(
int? distancepercentage,
) {
// Determine if there are values to add to the dictionary
var values = <String, String>{};
if (distancepercentage != null) {
values['dist_perc'] = distancepercentage.toString();
}
return TransformationData(plugin: 'imc', name: 'detect', values: values);
}