totalDays property

int get totalDays

Gets the total days.

Implementation

int get totalDays => years * 365 + months * 30 + days;