complete method

Future<bool> complete()

Implementation

Future<bool> complete() async {
  busy = true;

  bool ok = true;

  //////////////////
  /* Post the Row */
  //////////////////
  if (ok) ok = await _post();

  ////////////////
  /* Mark Clean */
  ////////////////
  if ((ok) && (fields != null)) {
    for (var field in fields!) {
      field.dirty = false;
    }
  }

  busy = false;

  return ok;
}