ObslyApiClient class
Cliente para las APIs REST de Obsly (configuración, reglas, textos, etc.)
Constructors
- ObslyApiClient({required String baseUrl, required String apiKey, Client? client})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void - Libera recursos
-
getEffectiveConfigV2(
{required String sdkObsly, required String installationId, required String release, required String platform, required String version, String? cfgType}) → Future< Response> - Obtiene la configuración efectiva v2
-
getHyperPersonalization(
String key) → Future< Response> - Obtiene valor de hiperpersonalización
-
getRules(
String hashStr) → Future< Response> - Obtiene reglas por hash
-
getStatus(
) → Future< Response> - Obtiene el estado del servidor
-
getText(
String hashStr) → Future< Response> - Obtiene un texto por hash
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
ping(
) → Future< Response> - Ping al servidor
-
setHyperPersonalization(
{required String key, required String value}) → Future< Response> - Establece valor de hiperpersonalización
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited