update method
void
update(
- T? current
Like StreamController.add
Implementation
void update(T? current) {
_current = current;
_resolved = true;
_after.add(current);
if (current != null) {
onChange?.call(current);
}
}