sendEvent method
Implementation
@override
Future<void> sendEvent({required String event, List<YoHeAttribute>? attributes}) async {
return await methodChannel.invokeMethod<void>('sendEvent', {
'event': event,
'attributes': attributes?.map((e) => e.toArguments).toList(),
});
}