AsyncValue<ValueT>.loading constructor

const AsyncValue<ValueT>.loading({
  1. num progress,
})

Creates an AsyncValue in loading state.

Prefer always using this constructor with the const keyword.

Implementation

// coverage:ignore-start
const factory AsyncValue.loading({num progress}) = AsyncLoading<ValueT>;