resetTo method

  1. @override
void resetTo({
  1. dynamic value,
})
override

para restablecer conenido

Implementation

@override
void resetTo({value}) {
  _data.clear();
  if (value == null) return;
  for (var x in value) {
    var n = create();
    n.resetTo(value: x);
    n.idOfList = _id_counter++;
    _data.add(n);
    n.parent = this;
  }
  refresh();
}