toSecondOfDay method
Returns the total number of seconds since midnight.
Example
final t = LocalTime(14, 8, 22, 70);
print(t.toSecondOfDay()); // 52822
Implementation
int toSecondOfDay() => toMillisecondOfDay() ~/ 1000;
Returns the total number of seconds since midnight.
final t = LocalTime(14, 8, 22, 70);
print(t.toSecondOfDay()); // 52822
int toSecondOfDay() => toMillisecondOfDay() ~/ 1000;