timeSince method
Returns the result of subtracting another zoned date and time from this one, resulting in the elapsed duration between the two instants represented by the values.
other
: The zoned date and time to subtract from this one.
Returns: The elapsed duration from other
to this value.
Implementation
Time timeSince(ZonedDateTime other) => other.toInstant().timeUntil(toInstant());