transform method

dynamic transform(
  1. dynamic obj
)

Implementation

dynamic transform(dynamic /* Stream | Future | EventEmitter */ obj) {
  if (_obj == null) {
    if (obj != null) {
      _subscribe(obj);
    }
  } else if (!_maybeStreamIdentical(obj, _obj)) {
    _dispose();
    return transform(obj);
  }
  return _latestValue;
}