LCOV - code coverage report
Current view: top level - lib/src - route_dart.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 7 7 100.0 %
Date: 2021-04-04 17:06:32 Functions: 0 0 -

          Line data    Source code
       1             : // TODO: Do we need this? Can we just use a string?
       2             : // Will this play a part in state restoration?
       3             : class RouteData {
       4          10 :   const RouteData(this.path);
       5             : 
       6             :   /// The pattern used to parse the route string. e.g. "/users/:id"
       7             :   final String path;
       8             : 
       9           1 :   @override
      10           4 :   bool operator ==(Object other) => other is RouteData && path == other.path;
      11             : 
      12           1 :   @override
      13           2 :   int get hashCode => path.hashCode;
      14             : 
      15           1 :   @override
      16           1 :   String toString() => path;
      17             : }

Generated by: LCOV version 1.15