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 6b73cbe commit e41c533Copy full SHA for e41c533
lib/src/api/models/condition.dart
@@ -89,6 +89,16 @@ enum ConditionJoin {
89
90
/// or operator
91
or;
92
+
93
+ /// Represents the logical sign for this enum.
94
+ String get sign {
95
+ switch (this) {
96
+ case ConditionJoin.and:
97
+ return '&&';
98
+ case ConditionJoin.or:
99
+ return '||';
100
+ }
101
102
}
103
104
/// Represents the mode of a condition (if/else if/else).
0 commit comments