mixpanel_flutter_common library
Shared pure-Dart support for the Mixpanel Flutter SDK family.
Two pieces:
- MixpanelEventBridge — process-wide stream of tracked events,
populated by
mixpanel_flutter. All members are annotated@internal— reserved for Mixpanel-authored downstream packages (e.g.mixpanel_flutter_session_replay). Application code should rely on the publicmixpanel_flutterSDK APIs instead. - JSONLogic — parser and evaluator for the subset of expressions used by Mixpanel Event Triggers.
Classes
- JsonLogicEvaluator
- Evaluates typed JsonLogicRule trees against JSON data.
- JsonLogicParser
- Parser that converts raw JSON into a typed JsonLogicRule tree.
- JsonLogicRule
- Abstract base for all supported JsonLogic operations.
- MixpanelEvent
- A tracked Mixpanel event broadcast through MixpanelEventBridge.
- MixpanelEventBridge
- Process-wide bridge for tracked Mixpanel events.
Exceptions / Errors
- InvalidExpressionException
- Thrown when an expression is structurally invalid.
- JsonLogicException
- Base exception for JsonLogic errors.
- TypeMismatchException
- Thrown when a type mismatch occurs during evaluation.
- UnsupportedOperatorException
- Thrown when an unsupported operator is encountered during parsing.