getCompleteReason method

Future<CompleteReason?> getCompleteReason(
  1. LoadingKey loadingKey
)
inherited

Returns the reason why the record loading, identified by the loadingKey, was completed.

Implementation

Future<CompleteReason?> getCompleteReason(LoadingKey loadingKey) {
  return _loadingDescribers[loadingKey] == null
      ? Future.value()
      : _loadingDescribers[loadingKey]!.completer.future;
}