recordEvent abstract method
Records a custom event with the specified values.
key
: Name of the custom event, required, must not be an empty string.
segmentation
: Segmentation map to associate with the event, can be null. (optional)
count
: Count to associate with the event, should be more than zero. (optional)
sum
: Sum to associate with the event. (optional)
duration
: Duration of the event. (optional)
Implementation
Future<void> recordEvent(String key, [Map<String, Object>? segmentation, int? count, double? sum, int? duration]);