Ref<T> constructor

Ref<T>(
  1. T _value
)

Initializes a new Ref with the given initial value.

The onChange callback schedules a notification for changes in value.

Implementation

Ref(this._value);