watchObject abstract method
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});