beginEdit method
Open the keyboard editor on the existing entity id and select it.
cancelEdit restores the copy taken here.
Implementation
void beginEdit(String id) {
final entity = byId(id);
if (entity == null) return;
_preEdit = entity.copyWith();
_selected = id;
_editing = id;
notifyListeners();
}