AsyncLoading<T> constructor

const AsyncLoading<T>()

Creates an AsyncValue in loading state.

Prefer always using this constructor with the const keyword.

Implementation

const AsyncLoading()
    : hasValue = false,
      value = null,
      error = null,
      stackTrace = null,
      super._();