LCOV - code coverage report
Current view: top level - stream_channel-2.1.0/lib/src - delegating_stream_channel.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 0 5 0.0 %
Date: 2021-11-28 14:37:50 Functions: 0 0 -

          Line data    Source code
       1             : // Copyright (c) 2016, the Dart project authors.  Please see the AUTHORS file
       2             : // for details. All rights reserved. Use of this source code is governed by a
       3             : // BSD-style license that can be found in the LICENSE file.
       4             : 
       5             : import 'dart:async';
       6             : 
       7             : import '../stream_channel.dart';
       8             : 
       9             : /// A simple delegating wrapper around [StreamChannel].
      10             : ///
      11             : /// Subclasses can override individual methods, or use this to expose only
      12             : /// [StreamChannel] methods.
      13             : class DelegatingStreamChannel<T> extends StreamChannelMixin<T> {
      14             :   /// The inner channel to which methods are forwarded.
      15             :   final StreamChannel<T> _inner;
      16             : 
      17           0 :   @override
      18           0 :   Stream<T> get stream => _inner.stream;
      19           0 :   @override
      20           0 :   StreamSink<T> get sink => _inner.sink;
      21             : 
      22           0 :   DelegatingStreamChannel(this._inner);
      23             : }

Generated by: LCOV version 1.14