recordEvent method
Records an analytics event with the given name and optional attributes.
Calls the JS SDK's recordEvent method.
Implementation
@override
Future<void> recordEvent(
String name, {
Map<String, dynamic>? attributes,
}) async {
final jsAttrs = (attributes ?? const {}).jsify();
clickstreamAnalytics?.recordEvent(name, jsAttrs!);
}