kgetDateTime method

DateTime kgetDateTime({
  1. bool isUtc = false,
})

将毫秒时间转化为DateTime

Implementation

DateTime kgetDateTime({bool isUtc = false}) =>
    DateTime.fromMillisecondsSinceEpoch(this ?? 0, isUtc: isUtc);