File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -234,14 +234,14 @@ rxPrefs2.setStringList('KEY_LIST', ['Cool']); // [*] will not print an
234234 Future<void> write<T extends Object>(String key, T? value, Encoder<T?> encoder);
235235` ` `
236236
237- # ## 5 . Dispose
237+ # ## 6 . Dispose
238238
239- You can dispose `RxSharedPreferences` when is no longer needed.
239+ You can dispose the `RxSharedPreferences` when it is no longer needed.
240240Just call `rxPrefs.dispose()`.
241- Usually you call this method on `dispose` of a `State`
241+ Usually, you call this method on `dispose` method of a Flutter `State`.
242242
243243> NOTE: If you use the default singleton instance (via `RxSharedPreferences.getInstance()`,
244- > you should **not** call `dispose` method,
244+ > you should **not** call the `dispose` method,
245245> must keep the instance alive for the entire lifetime of the application.
246246
247247
You can’t perform that action at this time.
0 commit comments