closeKeyList method

void closeKeyList(
  1. List<String> names
)

Closes a list of Keys; Usually to make sure the state of a form is not preserved And all the entries return to their default set values

Implementation

void closeKeyList(List<String> names) {
  for (var element in names) {
    _data.remove(element);
  }
  notifyListeners();
}