update method

void update(
  1. T? current
)

Implementation

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