getDateTime static method

DateTime? getDateTime(
  1. String key
)

Reads a DateTime saved with set().

Implementation

static DateTime? getDateTime(String key) => get<DateTime>(key);