LCOV - code coverage report | ||||||||||||||||||||||
![]() | ||||||||||||||||||||||
|
||||||||||||||||||||||
![]() |
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 |