We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9e782b commit d1f23fbCopy full SHA for d1f23fb
lib/src/api/models/condition.dart
@@ -51,6 +51,20 @@ enum ConditionOperation {
51
return 'less than';
52
}
53
54
+
55
+ /// short description of the operation
56
+ String get sign {
57
+ switch (this) {
58
+ case ConditionOperation.EqualsTo:
59
+ return '==';
60
+ case ConditionOperation.NotEqualsTo:
61
+ return '!=';
62
+ case ConditionOperation.GreaterThan:
63
+ return '>';
64
+ case ConditionOperation.LessThan:
65
+ return '<';
66
+ }
67
68
69
70
/// join operator for complex conditions
0 commit comments