Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 462 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 462 Bytes

Diz Core Example

How to use

  1. Import package
import 'package:diz_flutter_core/diz_core.dart';
  1. Use some classes you want

See small example below

import 'package:diz_flutter_core/diz_core.dart';

/// Some history service
class HistoryService {
    /// Some method
    void add(String key, String value) async {
        final LocalStroage ls = new LocalStorage('hisotry');
        await ls.addItem<String>(key, value);
    }
}