onSubmit method
Implementation
Map<String, dynamic> onSubmit() {
Map<String, dynamic> data = {};
for (var section in sections) {
for (var filed in section.fields) {
if (filed is GSField) {
data[filed.model?.tag ?? ''] = (filed.child as GSFieldCallBack).getValue();
}
}
}
return data;
}