toDate property

DateTime get toDate

Implementation

DateTime get toDate {
  if (this != null) {
    return DateTime.parse(this!);
  }
  return DateTime.now();
}