LCOV - code coverage report
Current view: top level - utils - route_config_extension.dart (source / functions) Coverage Total Hit
Test: lcov.info Lines: 100.0 % 3 3
Test Date: 2024-07-24 10:28:19 Functions: - 0 0

            Line data    Source code
       1              : import 'package:flutter_navigation_generator/src/models/route_config.dart';
       2              : import 'package:flutter_navigation_generator/src/utils/case_utils.dart';
       3              : 
       4              : extension RouteConfigExtension on RouteConfig {
       5            1 :   String get asRouteName {
       6            4 :     final name = CaseUtil(routeName, alternativeText: methodName).camelCase;
       7            3 :     if (name.startsWith(RegExp(r'[0-9]'))) return 'r$name';
       8              :     return name;
       9              :   }
      10              : }
        

Generated by: LCOV version 2.0-1