Check if duration is greater than another
bool operator >(Duration other) => inMilliseconds > other.inMilliseconds;