timespanUntil method

Timespan timespanUntil(
  1. LocalTime other
)

Finds the Timespan between two times. The result will be negative if other is earlier than this.

Implementation

Timespan timespanUntil(LocalTime other) =>
    Timespan(nanoseconds: other.nanosecondsSinceMidnight) -
    Timespan(nanoseconds: nanosecondsSinceMidnight);