clearStore function

Map<String, dynamic> clearStore(
  1. [String storeName]
)

Implementation

Map<String, dynamic> clearStore([String storeName]) {
  storeName ??= currentStore;
  final Map<String, dynamic> r = store[storeName];
  store[storeName].clear();
  return r;
}