rx property
Returns singleton instance associated with this SharedPreferences.
Implementation
RxSharedPreferences get rx {
final instances = _instances;
final cached = instances[this];
if (cached != null) {
return cached;
}
return instances[this] = RxSharedPreferences(
this,
RxSharedPreferencesConfigs.logger,
() => instances.remove(this),
);
}