find<T extends RealmObject> method

Subscription? find<T extends RealmObject>(
  1. RealmResults<T> query
)

Finds an existing Subscription in this set by its query

The query is represented by the corresponding RealmResults object.

Implementation

Subscription? find<T extends RealmObject>(RealmResults<T> query) {
  final result = realmCore.findSubscriptionByResults(this, query);
  return result == null ? null : Subscription._(result);
}