curHrAsString top-level property Null safety

String curHrAsString

Returns local current DateTime's hour as a # String formatted HH (ex. '14').

Implementation

String get curHrAsString {
  return formatTime(time: DateTime.now(), format: 'HH');
}