set method
Computed nodes are read-only. Calling set throws a StateError.
Implementation
@override
void set(T newValue) {
throw StateError(
'Cannot set a ComputedNode directly. '
'Its value is derived from the compute function.',
);
}
Computed nodes are read-only. Calling set throws a StateError.
@override
void set(T newValue) {
throw StateError(
'Cannot set a ComputedNode directly. '
'Its value is derived from the compute function.',
);
}