BridgeAnalyticsSink typedef
Lightweight analytics relay for the cookie bridge.
The bridge itself has no analytics transport — it only emits events. The host SDK (e.g. banking_iob_sdk_flutter) registers onBridgeAnalyticsEvent so those events flow into its own batching / persistence / HTTP pipeline. When no sink is registered (default), logBridgeEvent is a safe no-op, so this is entirely optional — nothing happens unless a host opts in.
This lives in its own leaf file (imported by both flutter_cookie_bridge.dart
and web_view.dart) so the WebView can emit events without importing the
FlutterCookieBridge class — avoiding a circular import.
Implementation
typedef BridgeAnalyticsSink = void Function(Map<String, dynamic> event);