$getProperty method

  1. @override
$Value? $getProperty(
  1. Runtime runtime,
  2. String identifier
)
override

Get a property by identifier on this instance

Implementation

@override
$Value? $getProperty(Runtime runtime, String identifier) {
  switch (identifier) {
    case 'add':
      return __add;
    case 'addError':
      return __addError;
    case 'close':
      return __close;
    case 'done':
      return $Future.wrap($value.done);
    case 'sink':
      return $StreamSink.wrap($value.sink);
    case 'stream':
      return $Stream.wrap($value.stream);
  }
  return _superclass.$getProperty(runtime, identifier);
}