abto library
ABTO SDK for Flutter/Dart with the same event contract as the Browser SDK.
Classes
- AbtoClient
-
ABTO SDK entry point for Flutter/Dart.
Uses the same event contract as the Browser SDK and posts
{"batch": […]}to the Analytics ingestion contract: event_id, device_id, event_name, occurred_at, and extra_json. - AbtoConfig
- AbtoContext
- Identity context that manages shared event fields: anonymous_id, session_id, user_id, and tenant_id.
- AbtoInMemoryStore
- AbtoKeyValueStore
-
Persistence boundary for
anonymous_id. Flutter apps can supply ashared_preferencesadapter; tests use an in-memory implementation. - AbtoLlmTrace
- Lifecycle of one LLM call, joining prior behavior by trace_id and Gateway cost and latency by request_id.
Enums
Extension Types
Functions
-
abtoEventNameIssue(
String event, {bool allowSystemEvent = false}) → String? -
abtoMetricValue(
num? value) → num? -
abtoScaleValue(
String? value) → String? -
isoTimestamp(
) → String -
randomHex(
int byteCount) → String -
uuidV7(
[DateTime? date]) → String -
uuidV7TraceId(
) → String