toDateTime method
Implementation
DateTime? toDateTime() {
try {
final date = DateTime.fromMillisecondsSinceEpoch(this, isUtc: true);
return date;
} catch (ex) {
jLog.e(ex);
return null;
}
}
DateTime? toDateTime() {
try {
final date = DateTime.fromMillisecondsSinceEpoch(this, isUtc: true);
return date;
} catch (ex) {
jLog.e(ex);
return null;
}
}