fromValue static method
Implementation
static NsQueryOperator fromValue(int value) => switch (value) {
0 => NS_QUERY_OP_EQUAL,
1 => NS_QUERY_OP_CONTAINS,
2 => NS_QUERY_OP_GREATER,
3 => NS_QUERY_OP_GEQUAL,
4 => NS_QUERY_OP_LESS,
5 => NS_QUERY_OP_LEQUAL,
6 => NS_QUERY_OP_OVERLAP,
7 => NS_QUERY_OP_IS_EMPTY,
_ => throw ArgumentError('Unknown value for NsQueryOperator: $value'),
};