curHrAsInt top-level property Null safety

int curHrAsInt

Returns local current hour as an int (1...24).

Implementation

int get curHrAsInt {
  return DateTime.now().hour;
}