watchObject abstract method

Stream<OBJ?> watchObject(
  1. int id, {
  2. bool initialReturn = false,
})

Watch an object with id for changes.

Objects that don't exist (yet) can also be called. If initialReturn is true, the object will be sent to the consumer immediately.

Implementation

Stream<OBJ?> watchObject(int id, {bool initialReturn = false});