parseDateTimeWithTimeString method
Implementation
DateTime? parseDateTimeWithTimeString(String time) {
if (isEmpty) {
return null;
} else {
if (time.isEmpty) {
return DateTime.parse(this);
} else {
return DateTime.parse("$this $time");
}
}
}