Ref<T> class

Constructors

Ref({required ValueGetter<T> getter, required ValueSetter<T> setter})
Ref.of(T raw)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value ↔ T
getter/setter pair

Methods

bindChange(BindingNode node) → T
call(BindingNode node) Binding<T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyChange(BindingNode node, T value) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromData<P extends DataProvider, T>({required T getter(P), required void setter(P, T)}) DataRef<P, T>