LCOV - code coverage report
Current view: top level - models/android/extensions - idle_reason.dart Coverage Total Hit
Test: lcov_cleaned.info Lines: 0.0 % 4 0
Test Date: 2025-06-20 10:50:47 Functions: - 0 0

            Line data    Source code
       1              : import 'package:flutter_chrome_cast/lib.dart';
       2              : 
       3              : /// Android-specific extension for idle reason.
       4              : extension GoogleCastIdleReasonAndroid on GoogleCastMediaIdleReason {
       5              :   /// Creates an idle reason from a map value.
       6            0 :   static GoogleCastMediaIdleReason fromMap(String value) {
       7            0 :     return GoogleCastMediaIdleReason.values.firstWhere(
       8            0 :       (element) => element.name.toUpperCase() == value.toUpperCase(),
       9            0 :       orElse: () => GoogleCastMediaIdleReason.none,
      10              :     );
      11              :   }
      12              : }
        

Generated by: LCOV version 2.3.1-1