retryLoad method

Future<void> retryLoad()

Loads or retries loading metadata for the object asynchronously.

Will retry loading the metadata if the object is failed to load. Will load the object if it is not loaded. Will not retry to load the object if the object is loaded. Will always call the done loading if this is called.

Implementation

Future<void> retryLoad() {
  if (_doneLoadingCompleter == null) {
    _startCompleter();
    _coreRetryLoad();
  }

  return _doneLoadingCompleter!.future;
}