jonataslaw / get_storage

A fast, extra light and synchronous key-value storage to Get framework
MIT License
359 stars 82 forks source link

Can you add below code to storage_impl.dart, [reinitialize] #81

Open Lukiya opened 3 years ago

Lukiya commented 3 years ago

static Future<bool> reInit(String container) async { if (_sync.containsKey(container)) _sync.remove(container); return await init(container); } In case under certain circumstances, user need to reload data from physical file. Thanks.