toDateTime property
DateTime?
toDateTime
toDateTime extension this extension will convert a string into DateTime object
Implementation
DateTime? get toDateTime => DateTime.tryParse(this);
toDateTime extension this extension will convert a string into DateTime object
DateTime? get toDateTime => DateTime.tryParse(this);