isShorterThan method

bool isShorterThan(
  1. Duration other
)

Compare two durations

Implementation

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