LCOV - code coverage report
Current view: top level - utils - double2.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 0 6 0.0 %
Date: 2022-03-03 12:14:57 Functions: 0 0 -

          Line data    Source code
       1             : // A data class for sending pairs of doubles (eg. locations) in messages.
       2             : class Double2 {
       3           0 :   const Double2(this.x, this.y);
       4             :   final num x;
       5             :   final num y;
       6             : 
       7           0 :   Map<String, dynamic> toJson() => <String, num>{'x': x, 'y': y};
       8             : 
       9           0 :   factory Double2.fromJson(Map<String, dynamic> json) =>
      10           0 :       Double2(json['x'] as num, json['y'] as num);
      11             : 
      12           0 :   @override
      13           0 :   String toString() => '{x: $x, y: $y}';
      14             : }

Generated by: LCOV version 1.13