trackCustomEvent method

Future<String> trackCustomEvent({
  1. required String category,
  2. required String action,
  3. String? name,
  4. double? value,
  5. String? path,
})

Implementation

Future<String> trackCustomEvent(
    {required String category, required String action, String? name, double? value, String? path}) async {
  var arguments = <String, dynamic>{};
  arguments['category'] = category;
  arguments['action'] = action;
  arguments['name'] = name;
  arguments['value'] = value;
  arguments['path'] = path;

  final result = await _channel.invokeMethod(trackCustomEventName, arguments);
  return result;
}