generation property
int
get
generation
Bumped whenever the cache goes stale: on each of the document's changes and on invalidate. A tool that caches something derived from the inputs (a traced preview) compares it with the value it built at.
Implementation
int get generation => _generation;