isarWatchItem<R extends HasIsarId> function

Stream<R> Function(Id key) isarWatchItem<R extends HasIsarId>({
  1. required IsarCollection<R> collection,
})

Implementation

Stream<R> Function(Id key) isarWatchItem<R extends HasIsarId>({
  required IsarCollection<R> collection,
}) =>
    (key) => collection.watchObject(key, fireImmediately: true).whereNotNull();