getDynamic static method

dynamic getDynamic(
  1. String key, {
  2. Object? defValue,
})

get dynamic.

Implementation

static dynamic getDynamic(String key, {Object? defValue}) {
  return _prefs?.get(key) ?? defValue;
}