formatAsHm method

String formatAsHm([
  1. String? locale
])

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

Implementation

String formatAsHm([String? locale]) => DateFormat.Hm(locale).format(this);