propertyIsDirty method
Implementation
bool propertyIsDirty(dynamic object, String property) {
// local function
bool applies(Command command) {
if ( command is PropertyChangeCommand) {
if (identical(command.target, object) && command.property == property)
return true;
}
return false;
}
for (var command in _stack)
if ( applies(command))
return true;
return false;
}