fromNow property
Extension method to calculate the duration from the current date and time to the given date and time.
Implementation
Duration get fromNow => now.difference(this);
Extension method to calculate the duration from the current date and time to the given date and time.
Duration get fromNow => now.difference(this);