LCOV - code coverage report
Current view: top level - auth/link-providers/models - link_accounts_view_model.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 5 6 83.3 %
Date: 2022-03-03 12:16:56 Functions: 0 0 -

          Line data    Source code
       1             : import 'package:fast_immutable_collections/fast_immutable_collections.dart';
       2             : import 'package:freezed_annotation/freezed_annotation.dart';
       3             : 
       4             : import '../../../../types.dart';
       5             : import '../enums/linking_account_enum.dart';
       6             : 
       7             : part 'link_accounts_view_model.freezed.dart';
       8             : part 'link_accounts_view_model.g.dart';
       9             : 
      10             : @freezed
      11             : class LinkAccountsViewModel with _$LinkAccountsViewModel, ReduxState {
      12             :   static const String className = 'LinkAccountsViewModel';
      13             : 
      14          20 :   const LinkAccountsViewModel._();
      15             :   const factory LinkAccountsViewModel(
      16             :       IMap<ProvidersEnum, LinkingStateEnum> stateOf) = _LinkAccountsViewModel;
      17             : 
      18           1 :   factory LinkAccountsViewModel.fromJson(JsonMap json) =>
      19           1 :       _$LinkAccountsViewModelFromJson(json);
      20             : 
      21          20 :   factory LinkAccountsViewModel.init() =>
      22          40 :       LinkAccountsViewModel(IMap<ProvidersEnum, LinkingStateEnum>());
      23             : 
      24           0 :   @override
      25             :   String get typeName => className;
      26             : }

Generated by: LCOV version 1.13