parseDate method

DateTime? parseDate(
  1. String key
)

Implementation

DateTime? parseDate(String key) {
  try {
    return parseValue(key, (x) => DateTime.parse(x).toLocal());
  } catch (e) {
    debugPrint(e.toString());

    return null;
  }
}