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