Ref<T> constructor

Ref<T>({
  1. required ValueGetter<T> getter,
  2. required ValueSetter<T> setter,
})

Implementation

Ref({required ValueGetter<T> getter, required ValueSetter<T> setter})
    : _getter = getter,
      _setter = setter;