set abstract method
Returns a snapshot with updated content.
Unmodified children and grandchildren are recycled. So, also their conversions are reused.
value
may either be a JSON-like object or a Snapshot.
When the new value equals the old value, this Snapshot will be returned.
In case the value
argument was a compatible (i.e. with same decoder)
Snapshot, the cache of the argument will be merged into this snapshot.
When value
is a compatible snapshot (and the content changed), value
will be returned with the cache of this snapshot merged.
Implementation
Snapshot set(dynamic value);