update method

void update(
  1. T value
)

Updates the value of the stream.

Implementation

void update(T value) {
  _update(
    _Snapshot(
      CancelableOperation.fromFuture(Future.value(value)),
      value,
      null,
    ),
  );
}