| library /*isNonNullableByDefault*/; |
| import self as self; |
| import "dart:async" as asy; |
| import "dart:core" as core; |
| |
| import "dart:async"; |
| |
| static method test(asy::StreamController<void> _eventStreamController) → dynamic async /* futureValueType= dynamic */ { |
| { |
| asy::Stream<void> :stream = _eventStreamController.{asy::StreamController::stream}{asy::Stream<void>}; |
| asy::_StreamIterator<void>? :for-iterator = new asy::_StreamIterator::•<void>(:stream); |
| try |
| while (let dynamic #t1 = asy::_asyncStarMoveNextHelper(:stream) in await :for-iterator.{asy::_StreamIterator::moveNext}(){() → asy::Future<core::bool>}) { |
| final void _ = :for-iterator.{asy::_StreamIterator::current}{void}; |
| {} |
| } |
| finally |
| if(!(:for-iterator.{asy::_StreamIterator::_subscription}{asy::StreamSubscription<void>?} == null)) |
| await :for-iterator.{asy::_StreamIterator::cancel}(){() → asy::Future<dynamic>}; |
| } |
| } |
| static method main() → dynamic {} |