edit method

void edit(
  1. void fn()
)

Implementation

void edit(void Function() fn) {
  fn();
  _adopt();
  notifyListeners();
}