percentageOfDay property
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);
Get current percentage of the day Returns the percentage of the day that has passed
double get percentageOfDay => (hour * 60 * 60 + minute * 60 + second) / (24 * 60 * 60);