$write method
When the atom recieves a write with the given value
, this method
determines the outcome.
Implementation
@override
void $write(GetAtom get, SetAtom set, SetSelf<R> setSelf, R value) =>
setSelf(value);
When the atom recieves a write with the given value
, this method
determines the outcome.
@override
void $write(GetAtom get, SetAtom set, SetSelf<R> setSelf, R value) =>
setSelf(value);