formatAsH method

String formatAsH([
  1. String? locale
])

Formats the DateTime object using the H format and optional locale.

Implementation

String formatAsH([String? locale]) => DateFormat.H(locale).format(this);