ObjectRef<T> constructor Null safety

ObjectRef<T>(
  1. T value
)

A class that stores a single value.

It is typically created by useRef.

Implementation

ObjectRef(this.value);