toDateTime method

DateTime toDateTime()

Implementation

DateTime toDateTime() => DateTime.parse(this ?? DateTime.now().toString());