toDateTimeString method

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

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

Implementation

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