toDateTime property

DateTime get toDateTime

Implementation

DateTime get toDateTime {
  if (this != null) {
    return DateTime.fromMillisecondsSinceEpoch(int.parse(this!) * 1000);
  }
  return DateTime.now();
}