result property

Current result of the task. Not null when task state is progress, paused or success.

Implementation

@override
AGCStorageDownloadResult? get result {
  if (isInProgress || isPaused || isSuccessful) {
    return AGCStorageDownloadResult._(_storageReference, _event);
  }
  return null;
}