@@ -32,7 +32,6 @@ Rultor.com](https://www.rultor.com/b/dartoos-dev/json_cache)](https://www.rultor
3232 - [ JsonCacheLocalStorage — LocalStorage] ( #jsoncachelocalstorage )
3333 - [ JsonCacheSafeLocalStorage — SafeLocalStorage] ( #jsoncachesafelocalstorage )
3434 - [ JsonCacheFlutterSecureStorage — FlutterSecureStorage] ( #jsoncachefluttersecurestorage )
35- - [ JsonCacheCrossLocalStorage — CrossLocalStorage] ( #jsoncachecrosslocalstorage )
3635 - [ JsonCacheHive — Hive] ( #jsoncachehive )
3736- [ Unit Test Tips] ( #unit-test-tips )
3837 - [ Mocking] ( #mocking )
@@ -129,16 +128,16 @@ define it as a **map key** whose associated value is a boolean placeholder value
129128set to ` true ` . For example:
130129
131130``` dart
132- /// Storing a simple text information .
133- jsonCache.refresh('info', {'an important information': true});
131+ /// Storing a phrase .
132+ jsonCache.refresh('info', {'This is very important information. ': true});
134133
135134 // later on…
136135
137136 // This variable is a Map containing a single key.
138137 final cachedInfo = await jsonCache.value('info');
139138 // The key itself is the content of the stored information.
140139 final info = cachedInfo?.keys.first;
141- print(info); // 'an important information'
140+ print(info); // 'This is very important information. '
142141
143142```
144143
@@ -321,18 +320,6 @@ is an implementation on top of the
321320 final info = cachedInfo?.keys.first; // 'a secret info'
322321```
323322
324- ### JsonCacheCrossLocalStorage
325-
326- [ JsonCacheLocalCrossStorage] ( https://pub.dev/documentation/json_cache/latest/json_cache/JsonCacheCrossLocalStorage-class.html )
327- is an implementation on top of the
328- [ cross_local_storage] ( https://pub.dev/packages/cross_local_storage ) package.
329-
330- ``` dart
331- …
332- final LocalStorageInterface localStorage = await LocalStorage.getInstance();
333- final JsonCache jsonCache = JsonCacheMem(JsonCacheCrossLocalStorage(localStorage));
334- ```
335-
336323### JsonCacheHive
337324
338325[ JsonCacheHive] ( https://pub.dev/documentation/json_cache/latest/json_cache/JsonCacheHive.html )
0 commit comments