Ref<T>.of constructor
Ref<T>.of (
- Symbol key
create a new Ref instance pointing to
key. The created reference will host null
or The value of the old reference if any.
final ref = Ref.create(value);
Implementation
Ref.of(this.key) {
receipt = key;
_baseMap[key] = ValueNotifier(null);
}