Multiplexer(this.inputs, this.mapper) { _subscriptions = inputs .mapIndexed((input, i) => input.listen((event) => _onData(event, i))) .toList(); }