ne method
A not equal to operation.
Matches models where the given field is not equal to the provided value.
Example:
The example returns Posts where the rating is not equal to 10.
Amplify.DataStore.query(
Post.classType,
where: Post.RATING.ne(10),
);
Implementation
QueryPredicateOperation ne(T value) =>
QueryPredicateOperation(fieldName, NotEqualQueryOperator<T>(value));