toTimeString method

String? toTimeString({
  1. bool isSecond = false,
})

将时间戳(Milliseconds)格式化时间

Implementation

String? toTimeString({bool isSecond = false}) {
  return dateFormat(DateFormats.h_m_s, isSecond: isSecond);
}