toValue method
Implementation
String toValue() {
switch (this) {
case ComparisonOperator.greaterThanOrEqualToThreshold:
return 'GreaterThanOrEqualToThreshold';
case ComparisonOperator.greaterThanThreshold:
return 'GreaterThanThreshold';
case ComparisonOperator.lessThanThreshold:
return 'LessThanThreshold';
case ComparisonOperator.lessThanOrEqualToThreshold:
return 'LessThanOrEqualToThreshold';
}
}