getEventPayloadWeb function

Map<String, dynamic> getEventPayloadWeb(
  1. String eventName,
  2. MoEProperties eventAttributes
)

Implementation

Map<String, dynamic> getEventPayloadWeb(
  String eventName,
  MoEProperties eventAttributes,
) {
  final Map<String, dynamic> eventPayload =
      eventAttributes.getNormalizedEventAttributeJson();
  eventPayload[keyEventName] = eventName;
  return eventPayload;
}