LCOV - code coverage report
Current view: top level - lib/util - duplet.dart (source / functions) Hit Total Coverage
Test: Folly Fields Lines: 6 6 100.0 %
Date: 2023-05-18 02:05:34 Functions: 0 0 -

          Line data    Source code
       1             : ///
       2             : ///
       3             : ///
       4             : class Duplet<A, B> {
       5             :   final A a;
       6             :   final B b;
       7             : 
       8             :   ///
       9             :   /// 
      10             :   /// 
      11           9 :   const Duplet(this.a, this.b);
      12             :   
      13             :   ///
      14             :   /// 
      15             :   /// 
      16           7 :   @override
      17          21 :   String toString() => '$a => $b';
      18             : }
      19             : 
      20             : ///
      21             : ///
      22             : ///
      23             : class Triplet<A,B,C> extends Duplet<A,B> {
      24             :   final C c;
      25             : 
      26             :   ///
      27             :   ///
      28             :   ///
      29           1 :   const Triplet(super.a, super.b, this.c);
      30             : 
      31             :   ///
      32             :   /// 
      33             :   /// 
      34           1 :   @override
      35           3 :   String toString() => '${super.toString()} => $c';
      36             : 
      37             : }

Generated by: LCOV version 1.14