duration property Null safety
Returns a Duration of the time between start and end.
See DateTime.difference for more details.
Implementation
Duration get duration => end.difference(start);
Returns a Duration of the time between start and end.
See DateTime.difference for more details.
Duration get duration => end.difference(start);