CachedPrfObject<T> constructor

CachedPrfObject<T>(
  1. String key, {
  2. T? defaultValue,
})

Creates a new cached preference object with the given key and optional defaultValue.

Implementation

CachedPrfObject(super.key, {super.defaultValue});