Ref<T> class

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

action<K extends Object>(T fn(T value, K arg)) Trigger<K>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
provide([Token<Ref<T>>? token]) → void
toString() String
A string representation of this object.
inherited
update(T fn(T), {bool force = false}) → T
write(T value, {bool forceUpdate = false}) → void

Operators

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

Static Methods

consume<T>(CTNode n, [Token<Ref<T>>? token]) Ref<T>