toDateString method

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

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

Implementation

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