markAsPending method

void markAsPending({
  1. bool onlySelf = false,
})

Implementation

void markAsPending({bool onlySelf = false}) {
  _status = PENDING;

  var parent = _parent;
  if (parent != null && !onlySelf) {
    parent.markAsPending(onlySelf: onlySelf);
  }
}