已过时属性

Duration 已过时

已过时滴答计数器转换为Duration

实现

Duration get elapsed {
  return Duration(microseconds: elapsedMicroseconds);
}