onReset method
Implementation
void onReset(Event event) {
String? id = (event.parameters != null) ? event.parameters!['id'] : null;
if ((isNullOrEmpty(id)) || (id == widget.model.id)) {
reset();
}
}
void onReset(Event event) {
String? id = (event.parameters != null) ? event.parameters!['id'] : null;
if ((isNullOrEmpty(id)) || (id == widget.model.id)) {
reset();
}
}