recordEvent method Null safety

Future<void> recordEvent(
  1. String eventName,
  2. Map<String, dynamic> properties
)

Pushes a basic event.

Implementation

static Future<void> recordEvent(
    String eventName, Map<String, dynamic> properties) async {
  return await _channel.invokeMethod(
      'recordEvent', {'eventName': eventName, 'eventData': properties});
}