edit method
Implementation
bool edit() {
final editingSrc = !_editing &&
dataSet != null &&
!dsEditModes.contains(dataSet!.state);
if (!_editing && canModify) {
super.edit();
}
final result = _editing;
if (!_editingSourceSet) {
// Fires only once (when the edit succeeds)
_editingSource = _editing && editingSrc;
_editingSourceSet = true;
}
return result;
}