toDateTime property

DateTime toDateTime

Parse string to DateTime using null Safety

Implementation

DateTime get toDateTime => DateTime.parse(this);