toOpsFilterOperatorType method
Implementation
OpsFilterOperatorType toOpsFilterOperatorType() {
switch (this) {
case 'Equal':
return OpsFilterOperatorType.equal;
case 'NotEqual':
return OpsFilterOperatorType.notEqual;
case 'BeginWith':
return OpsFilterOperatorType.beginWith;
case 'LessThan':
return OpsFilterOperatorType.lessThan;
case 'GreaterThan':
return OpsFilterOperatorType.greaterThan;
case 'Exists':
return OpsFilterOperatorType.exists;
}
throw Exception('$this is not known in enum OpsFilterOperatorType');
}