query method
Returns a new RealmResults filtered according to the provided query.
The Realm Dart and Realm Flutter SDKs supports querying based on a language inspired by NSPredicate
Implementation
RealmResults<T> query(String query, [List<Object> args = const []]) {
final handle = this.handle.queryResults(query, args);
return RealmResultsInternal.create<T>(handle, realm, _metadata);
}