clear method

void clear()

Implementation

void clear() {
  while (_fieldList.isNotEmpty) {
    final aField = _fieldList.last;
    aField._dataSet = null;
    aField.free();
    if (_fieldList.isNotEmpty && identical(_fieldList.last, aField)) {
      _fieldList.removeLast();
    }
  }
  changed();
}