ObslyToolsController class

Controlador para manejar texts y rules de obsly_tools con sistema de caché

Properties

cachedRules String?
no setter
cachedTexts String?
Getters para acceso a caché en memoria
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear() Future<void>
Limpia caché (para testing)
fetchObslyToolsFromConfig(ObslyTools obslyTools, String apiKey) Future<void>
Fetch texts y rules automáticamente después de obtener RemoteConfig
forceRefreshRules(String rulesUrl, String apiKey) Future<String?>
Fuerza actualización de rules
forceRefreshTexts(String textsUrl, String apiKey) Future<String?>
Fuerza actualización de texts
getRules(String rulesUrl, String apiKey) Future<String?>
Obtiene rules con caché
getTexts(String textsUrl, String apiKey) Future<String?>
Obtiene texts con caché
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

Static Properties

instance ObslyToolsController
no setter