clear method
dynamic
clear()
Clear the form
Implementation
clear() {
_data.forEach((key, value) {
_data[key] = null;
});
// update the state
NyForm.refreshState(stateName);
}
Clear the form
clear() {
_data.forEach((key, value) {
_data[key] = null;
});
// update the state
NyForm.refreshState(stateName);
}