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