days property

int get days

The number of days in the duration.

Implementation

int get days => totalMicroseconds.abs() ~/ Duration.microsecondsPerDay;