getTime static method

String getTime(
  1. dynamic date,
  2. dynamic format
)

Implementation

static String getTime(date, format) {
  return DateFormat('HH:mm').format(format.parseUTC(date).toLocal());
}