sendEvent method

  1. @override
Future<void> sendEvent({
  1. String? eventName,
  2. Map<String, String>? attributes,
})
override

Implementation

@override
Future<void> sendEvent(
    {String? eventName, Map<String, String>? attributes}) async {
  await methodChannel.invokeMethod<void>('sendEvent', {
    'eventName': eventName,
    'params': attributes,
  });
}