int inDays

Returns the number of whole days spanned by this Duration.

Source

int get inDays => _duration ~/ Duration.MICROSECONDS_PER_DAY;