I am trying to create Auth and Todo app. The problem is that I don't know which is the correct usage and don't know the difference between the two.
I want to use it before adding an item to the Todo List.
Is there a clear distinction between them, or do they have the same meaning?
I saw common.dart file but it written like this.
/// Creates an [AsyncValue] in loading state.
///
/// Prefer always using this constructor with the `const` keyword.
// coverage:ignore-start
const factory AsyncValue.loading() = AsyncLoading<T>;```