getDirty method
Get the dirty attributes (those that have changed).
Implementation
Map<String, dynamic> getDirty() {
final dirty = <String, dynamic>{};
for (final key in _attributes.keys) {
if (_attributes[key] != _original[key]) {
dirty[key] = _attributes[key];
}
}
return dirty;
}