timeEvent method

Future<void> timeEvent(
  1. String eventName
)

记录事件时长. 调用 TimeEvent 为某事件开始计时,当 track 传该事件时,SDK 会在在事件属性中加入 #duration 这一属性来表示事件时长,单位为秒.

事件名称

Implementation

Future<void> timeEvent(String eventName) {
  throw UnimplementedError('timeEvent() has not been implemented.');
}