toTime static method

String toTime(
  1. DateTime date
)

Implementation

static String toTime(DateTime date) {
  return DateFormat('HH:mm:ss').format(date);
}