logEventWithProperties static method

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

This method is used for sending event to be logged.

logEvent is String

properties Map<String, dynamic>

Here logEvent is sending the value with additional data.

Implementation

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