Converts this string to a DateTime, or null if it cannot be parsed.
null
DateTime? toDate() => DateTime.tryParse(trim());