toDateTime property

DateTime? get toDateTime

Implementation

DateTime? get toDateTime => DateTime.tryParse(getDateTimeStr());