complete method
Implementation
Future<bool> complete() async {
busy = true;
bool ok = true;
// Post the Row
if (ok) ok = await _post();
// mark row clean
if (ok) {
dirty = false;
for (var cell in cells) {
cell.dirty = false;
}
}
// mark custom form fields as clean
if (ok && fields != null) {
for (var field in fields!) {
field.dirty = false;
}
}
busy = false;
return ok;
}