EventSender class

Clase especializada en el envío de eventos al servidor de Obsly

Constructors

EventSender({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
getStatus() Future<Response>
Obtiene el estado del servidor
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendBatch(List<ObslyEvent> events) Future<bool>
Envía un batch de eventos al servidor
toString() String
A string representation of this object.
inherited
validateConnection() Future<void>
Valida que el servidor de eventos esté disponible Lanza excepción si no puede conectar

Operators

operator ==(Object other) bool
The equality operator.
inherited