hour static method

String hour(
  1. DateTime value
)

Implementation

static String hour(DateTime value) {
  return DateFormat("hh:mm a").format(value);
}