LCOV - code coverage report
Current view: top level - models/android/extensions - stream_type.dart Coverage Total Hit
Test: lcov_cleaned.info Lines: 75.0 % 4 3
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 stream type.
       4              : extension GoogleCastAndroidStreamType on CastMediaStreamType {
       5              :   /// Creates a stream type from a map value.
       6            1 :   static CastMediaStreamType fromMap(String value) {
       7            1 :     return CastMediaStreamType.values.firstWhere(
       8            3 :       (element) => element.value == value,
       9            0 :       orElse: () => CastMediaStreamType.none,
      10              :     );
      11              :   }
      12              : }
        

Generated by: LCOV version 2.3.1-1