push method
void
push(
- GraphSnapshot snapshot
Sets current and emits the snapshot to subscribers (after a microtask, like a real broadcast stream).
Implementation
void push(GraphSnapshot snapshot) {
_current = snapshot;
_controller.add(snapshot);
}