操作符 > 方法

bool operator >(
  1. Duration other
)

判断此 Duration 是否比 other 长度更长。

实现

bool operator >(Duration other) => this._duration > other._duration;