hour method

int hour()

Implementation

int hour() => (_hour != null) ? DateTime.now().hour : 0;