add method

void add(
  1. T value
)

添加值

Implementation

void add(T value) {
  if (!_subject.isClosed) {
    _subject.add(value);
  }
}