finishLoad method

void finishLoad([
  1. IndicatorResult result = IndicatorResult.succeeded
])

Finish the load task and return the result. result Result of task completion.

Implementation

void finishLoad([IndicatorResult result = IndicatorResult.succeeded]) {
  assert(controlFinishRefresh,
      'Please set controlFinishLoad to true, then use.');
  _state?._footerNotifier._finishTask(result);
}