toSeconds property

int get toSeconds

Converts the given hours, minutes, and seconds into total seconds.

Implementation

int get toSeconds => hours * 3600 + minutes * 60 + seconds;