percentageOfDay property

double get percentageOfDay

Get current percentage of the day Returns the percentage of the day that has passed

Implementation

double get percentageOfDay => (hour * 60 * 60 + minute * 60 + second) / (24 * 60 * 60);