SharedValue<T> constructor
SharedValue<T> ({})
Implementation
SharedValue({
this.key,
required T value,
this.autosave = false,
this.customEncode,
this.customDecode,
this.customLoad,
this.customSave,
}) : _value = value {
_update(init: true);
}