Last updated:
0 purchases
history service
history_service #
Description
Installation
Implementation
Methods
Description #
This library contains 3 simple functionalities that helps you manage any kind of history. (e.g. download history, search history, app logs...).
The way to use this library is creating an instance of History main class every time you want to use it and calling the methods. The functionalities will be executed in an isolated thread.
Installation #
In your pubspec.yaml root add:
dependencies:
history_service: ^1.0.1
copied to clipboard
then,
import 'package:history_service/history_service.dart';
copied to clipboard
Implementation #
History history = History();
history.historyAdd('dataToStore', 'pathToHistoryFolder');
copied to clipboard
Methods #
Method
Description
Arguments
Return type
Add
Add entry to history
String historyFolderPath, String entry
void
Read
Read history history using arguments as filter
String historyFolderPath, [String date, String entry]
Future<List<String>>
Delete
Delete history using arguments as filter
String historyFolderPath, [String date, String entry]
void
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.