LCOV - code coverage report
Current view: top level - api - ref.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 1 1 100.0 %
Date: 2021-05-31 17:15:31 Functions: 0 0 -

          Line data    Source code
       1             : import 'package:freezed_annotation/freezed_annotation.dart';
       2             : 
       3             : part 'ref.freezed.dart';
       4             : part 'ref.g.dart';
       5             : 
       6             : ///Ref model
       7             : ///
       8             : ///Handle Prismic.io references for querying.
       9             : @freezed
      10             : class Ref with _$Ref {
      11             :   ///Deafult factory constructor for Ref
      12             :   factory Ref({
      13             :     required String id,
      14             :     required String label,
      15             :     required String ref,
      16             :     required bool isMasterRef,
      17             :   }) = _Ref;
      18             : 
      19             :   ///Creates a Ref object from json
      20          14 :   factory Ref.fromJson(Map<String, dynamic> json) => _$RefFromJson(json);
      21             : }

Generated by: LCOV version 1.15