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

            Line data    Source code
       1              : import 'package:flutter_navigation_generator_annotations/flutter_navigation_generator_annotations.dart';
       2              : 
       3              : extension NavigationTypeExtension on NavigationType? {
       4            1 :   bool get isAsync => switch (this) {
       5            1 :         NavigationType.push ||
       6            1 :         NavigationType.restorablePush ||
       7            1 :         NavigationType.bottomSheet ||
       8            1 :         NavigationType.dialog ||
       9              :         null =>
      10              :           true,
      11            1 :         NavigationType.popAndPush ||
      12            1 :         NavigationType.pushReplacement ||
      13            1 :         NavigationType.pushAndReplaceAll ||
      14            1 :         NavigationType.restorablePopAndPush ||
      15            1 :         NavigationType.restorablePushReplacement ||
      16            1 :         NavigationType.restorablePushAndReplaceAll =>
      17              :           false,
      18              :       };
      19              : }
        

Generated by: LCOV version 2.0-1