index_manager 1.0.0 index_manager: ^1.0.0 copied to clipboard
This package manages multiple indexes identified by name and supports serialization and deserialization.
example/index_manager_example.dart
import 'package:flutter/material.dart';
import 'package:index_manager/index_manager.dart';
void main() {
final IndexManager im = IndexManager();
im.setIndex("first", 1);
Map<String, dynamic> m = im.toDict();
final IndexManager imRestored = IndexManager();
imRestored.fromDict(m);
debugPrint(imRestored.getAllIndex().toString());
}