getDateTime method

DateTime getDateTime(
  1. String path, [
  2. DateTime? defaultValue
])

Implementation

DateTime getDateTime(String path, [DateTime? defaultValue]) {
  return getDateTimeOrNull(path, defaultValue) ?? .now();
}