toDateTime method
Use DateTime.tryParse to parse the dt
property.
Warning: This method does not use the tzid
as DateTime does not
support timezones.
Implementation
DateTime? toDateTime() => DateTime.tryParse(dt);
Use DateTime.tryParse to parse the dt
property.
Warning: This method does not use the tzid
as DateTime does not
support timezones.
DateTime? toDateTime() => DateTime.tryParse(dt);