changes property

Allows listening for changes when the contents of this collection changes.

Implementation

Stream<RealmResultsChanges<T>> get changes {
  if (isFrozen) {
    throw RealmStateError('Results are frozen and cannot emit changes');
  }

  final controller = ResultsNotificationsController<T>(this);
  return controller.createStream();
}