event method

Future<Null> event (
  1. String name,
  2. {String label}
)

计数事件统计 eventId 当前统计的事件ID label 事件的标签属性

Implementation

static Future<Null> event(String name, {String label}) async {
  _channel.invokeMethod("event", {"name": name, "label": label});
}