isClean method
Returns whether the document is currently clean, not modified since initialization or the last call to markClean if no argument is passed, or since the matching call to changeGeneration if a generation value is given.
Implementation
bool isClean([int? generation]) {
return (generation == null
? call('isClean')
: callArg('isClean', generation)) ??
false;
}