sendCustomEvent method

  1. @override
Future<void> sendCustomEvent(
  1. CustomEvent event
)
override

Implementation

@override
Future<void> sendCustomEvent(CustomEvent event) async {
  await methodChannel.invokeMethod<void>('sendCustomEvent', {
    "tag": event.tag ??
        "default_flutter_event_name", // Remove default when SDK is updated to 7
    "properties": event.properties,
  });
  return;
}