LCOV - code coverage report
Current view: top level - lib/organisations/models - organisation_creator_view_model.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 1 4 25.0 %
Date: 2022-03-03 12:16:13 Functions: 0 0 -

          Line data    Source code
       1             : import 'package:freezed_annotation/freezed_annotation.dart';
       2             : import 'package:redfire/types.dart';
       3             : 
       4             : part 'organisation_creator_view_model.freezed.dart';
       5             : part 'organisation_creator_view_model.g.dart';
       6             : 
       7             : @freezed
       8             : class OrganisationCreatorViewModel
       9             :     with _$OrganisationCreatorViewModel, ReduxState {
      10             :   static const String className = 'OrganisationCreatorViewModel';
      11             : 
      12           6 :   const OrganisationCreatorViewModel._();
      13             :   factory OrganisationCreatorViewModel({
      14             :     /// The organisaiton name
      15             :     @Default('') String name,
      16             : 
      17             :     /// Are we currently creating a new organisation?
      18             :     @Default(false) bool creating,
      19             :   }) = _OrganisationCreatorViewModel;
      20             : 
      21           0 :   factory OrganisationCreatorViewModel.fromJson(JsonMap json) =>
      22           0 :       _$OrganisationCreatorViewModelFromJson(json);
      23             : 
      24           0 :   @override
      25             :   String get typeName => className;
      26             : }

Generated by: LCOV version 1.13