trackEvent method Null safety
Tracks user behavior through event tracking with attributes.
- Parameter
category
Name of event. - Parameter
semanticAttributes
Additional attributes of the event that defined by Airbridge. - Parameter
customAttributes
Additional attributes of the event.
Implementation
static void trackEvent({
required String category,
Map<String, dynamic>? semanticAttributes,
Map<String, dynamic>? customAttributes,
}) {
Logger.called('trackEvent');
_event.trackEvent(
category: category,
semanticAttributes: semanticAttributes,
customAttributes: customAttributes);
}