LCOV - code coverage report
Current view: top level - lib/presentation/blocs/main - main_page_bloc.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 3 3 100.0 %
Date: 2020-06-26 11:36:11 Functions: 0 0 -

          Line data    Source code
       1             : import 'dart:async';
       2             : 
       3             : import 'package:bloc/bloc.dart';
       4             : import 'package:freezed_annotation/freezed_annotation.dart';
       5             : import 'package:injectable/injectable.dart';
       6             : 
       7             : part 'main_page_bloc.freezed.dart';
       8             : part 'main_page_event.dart';
       9             : part 'main_page_state.dart';
      10             : 
      11             : @prod
      12             : @injectable
      13             : class MainPageBloc extends Bloc<MainPageEvent, MainPageState> {
      14           1 :   @override
      15             :   MainPageState get initialState => const MainPageState(0);
      16             : 
      17             :   @override
      18           1 :   Stream<MainPageState> mapEventToState(
      19             :     MainPageEvent event,
      20             :   ) async* {
      21           3 :     yield MainPageState(event.index);
      22             :   }
      23             : }

Generated by: LCOV version 1.13