LCOV - code coverage report
Current view: top level - details - details_events.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 2 5 40.0 %
Date: 2019-10-10 15:54:03 Functions: 0 0 -

          Line data    Source code
       1             : import 'package:equatable/equatable.dart';
       2             : import 'package:flutter/foundation.dart';
       3             : 
       4             : /// Base class for details events.
       5             : @immutable
       6             : abstract class DetailsEvent extends Equatable {
       7           1 :   const DetailsEvent();
       8             : }
       9             : 
      10             : /// Event indicating that details needs to be loaded.
      11             : ///
      12             : /// [I] - the element's [id] type.
      13             : class LoadDetails<I> extends DetailsEvent {
      14             :   final I id;
      15             : 
      16           1 :   LoadDetails([this.id]);
      17             : 
      18           0 :   @override
      19           0 :   List<Object> get props => [id];
      20             : 
      21           0 :   String toString() => 'LoadDetails: $id';
      22             : }

Generated by: LCOV version 1.14