Prf<T> constructor

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

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

Implementation

Prf(super.key, {super.defaultValue}) : _customAdapter = null {
  _resolvedAdapter = PrfAdapterMap.instance.of<T>();
}