@@ -30,8 +30,8 @@ Rultor.com](https://www.rultor.com/b/dartoos-dev/json_cache)](https://www.rultor
3030 - [ JsonCacheEncPrefs — EncryptedSharedPreferences] ( #jsoncacheencprefs )
3131 - [ JsonCacheSecStorage — FlutterSecureStorage] ( #jsoncachesecstorage )
3232 - [ JsonCacheLocalStorage — LocalStorage] ( #jsoncachelocalstorage )
33- - [ JsonCacheHive — Hive] ( #jsoncachehive )
3433 - [ JsonCacheCrossLocalStorage — CrossLocalStorage] ( #jsoncachecrosslocalstorage )
34+ - [ JsonCacheHive — Hive] ( #jsoncachehive )
3535- [ Unit Test Tips] ( #unit-test-tips )
3636 - [ Mocking] ( #mocking )
3737 - [ Fake Implementations] ( #fake-implementations )
@@ -272,6 +272,18 @@ is an implementation on top of the
272272 …
273273```
274274
275+ ### JsonCacheCrossLocalStorage
276+
277+ [ JsonCacheLocalCrossStorage] ( https://pub.dev/documentation/json_cache/latest/json_cache/JsonCacheCrossLocalStorage-class.html )
278+ is an implementation on top of the
279+ [ cross_local_storage] ( https://pub.dev/packages/cross_local_storage ) package.
280+
281+ ``` dart
282+ …
283+ final LocalStorageInterface prefs = await LocalStorage.getInstance();
284+ final JsonCache jsonCache = JsonCacheMem(JsonCacheCrossLocalStorage(prefs));
285+ ```
286+
275287### JsonCacheHive
276288
277289[ JsonCacheHive] ( https://pub.dev/documentation/json_cache/latest/json_cache/JsonCacheHive.html )
@@ -285,19 +297,6 @@ package.
285297 final JsonCache hiveCache = JsonCacheMem(JsonCacheHive(box));
286298 …
287299```
288-
289- ### JsonCacheCrossLocalStorage
290-
291- [ JsonCacheLocalCrossStorage] ( https://pub.dev/documentation/json_cache/latest/json_cache/JsonCacheCrossLocalStorage-class.html )
292- is an implementation on top of the
293- [ cross_local_storage] ( https://pub.dev/packages/cross_local_storage ) package.
294-
295- ``` dart
296- …
297- final LocalStorageInterface prefs = await LocalStorage.getInstance();
298- final JsonCache jsonCache = JsonCacheMem(JsonCacheCrossLocalStorage(prefs));
299- ```
300-
301300## Unit Test Tips
302301
303302This package has been designed with unit testing in mind. This is one of the
0 commit comments