CacheShpProvider class
Constructors
- CacheShpProvider()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isInitialized → bool
-
Verifica si el provider se ha inicializado correctamente
no setter
-
keys
→ Set<
String> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
eliminaCahceShpProvider(
String key) → Future< void> -
guardaCahceShpProvider(
String key, String value) → Future< void> -
initPrefs(
) → Future< void> - Inicializa las preferencias de manera asíncrona. Se recomienda invocar esta función en el main o en la parte más alta de la app antes de acceder a los getters/setters.
-
leeCahceShpProvider(
{required String key}) → String -
limpiarPreferencias(
) → Future< bool> - Limpia todas las preferencias (uso con precaución).
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited