LCOV - code coverage report
Current view: top level - storage - hive_local_storage.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 2 4 50.0 %
Date: 2020-07-29 21:06:21 Functions: 0 0 -

          Line data    Source code
       1             : import 'dart:async';
       2             : 
       3             : import 'package:hive/hive.dart';
       4             : import 'package:riverpod/riverpod.dart';
       5             : 
       6             : // ignore_for_file: unused_import
       7             : import 'hive_local_storage_web.dart'
       8             :     if (dart.library.io) 'hive_local_storage_io.dart';
       9             : 
      10             : abstract class HiveLocalStorage {
      11           0 :   factory HiveLocalStorage(
      12             :       {FutureOr<String> Function() baseDirFn,
      13             :       List<int> encryptionKey,
      14             :       bool clear}) {
      15           0 :     return getHiveLocalStorage(
      16             :         baseDirFn: baseDirFn, encryptionKey: encryptionKey, clear: clear);
      17             :   }
      18             : 
      19             :   HiveAesCipher get encryptionCipher;
      20             :   HiveInterface get hive;
      21             : 
      22             :   Future<void> initialize();
      23             : }
      24             : 
      25           2 : final hiveLocalStorageProvider =
      26           1 :     Provider<HiveLocalStorage>((ref) => HiveLocalStorage());

Generated by: LCOV version 1.14