isShorterThan method

bool isShorterThan(
  1. Duration other
)

Returns true if this duration is strictly shorter than other.

Implementation

bool isShorterThan(Duration other) => this < other;