AddCustomEvent constructor

AddCustomEvent({
  1. required String eventType,
  2. Map<String, dynamic>? eventProperties,
  3. Map<String, dynamic>? customEventProperties,
})

Implementation

AddCustomEvent({
  required super.eventType,
  Map<String, dynamic>? eventProperties,
  Map<String, dynamic>? customEventProperties,
}) {
  if (eventProperties != null) {
    setEventProperties(eventProperties);
  }
  if (customEventProperties != null) {
    setCustomEventProperties(customEventProperties);
  }
}