sendEvent static method

Future<Null> sendEvent(
  1. SIQSendEvent eventName,
  2. List<Object> values
)

Use this API to send events to the SDK with SIQSendEvent and it's values with respect to the event

Implementation

static Future<Null> sendEvent(
    SIQSendEvent eventName, List<Object> values) async {
  Map<String, Object> map = <String, Object>{};
  map.putIfAbsent("eventName", () => eventName.toString());
  map.putIfAbsent("values", () => values);
  await _channel.invokeMethod('sendEvent', map);
}