Preference constructor

Preference(
  1. String key
)

Implementation

Preference(final String key) {
  _key = stringBusiness.encode(key)!;
}