complete method

Future<bool> complete()

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;
}