endEvent abstract method
Ends a timed event with a specified key.
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. Default value is 1. (optional)
sum
: Sum to associate with the event. Default value is 0. (optional)
Implementation
Future<void> endEvent(String key, [Map<String, Object>? segmentation, int? count, double? sum]);