v1OperatorToJson function
Implementation
dynamic v1OperatorToJson(v1Operator value) {
switch (value) {
case v1Operator.operator_equal:
return "OPERATOR_EQUAL";
case v1Operator.operator_more_than:
return "OPERATOR_MORE_THAN";
case v1Operator.operator_more_than_or_equal:
return "OPERATOR_MORE_THAN_OR_EQUAL";
case v1Operator.operator_less_than:
return "OPERATOR_LESS_THAN";
case v1Operator.operator_less_than_or_equal:
return "OPERATOR_LESS_THAN_OR_EQUAL";
case v1Operator.operator_contains:
return "OPERATOR_CONTAINS";
case v1Operator.operator_not_equal:
return "OPERATOR_NOT_EQUAL";
case v1Operator.operator_in:
return "OPERATOR_IN";
case v1Operator.operator_not_in:
return "OPERATOR_NOT_IN";
case v1Operator.operator_contains_one:
return "OPERATOR_CONTAINS_ONE";
case v1Operator.operator_contains_all:
return "OPERATOR_CONTAINS_ALL";
}
}