BasePrfObject<T> constructor

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

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

Implementation

const BasePrfObject(this.key, {this.defaultValue});