Skip to content

Commit

Permalink
Merge pull request #241 from PaulHalliday/main
Browse files Browse the repository at this point in the history
  • Loading branch information
rodydavis committed Apr 15, 2024
2 parents 2fc3112 + 97f6d43 commit 013360c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/signals_core/lib/src/async/state.dart
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ sealed class AsyncState<T> {
/// State for an [AsyncState] with a value
class AsyncData<T> extends AsyncState<T> {
/// State for an [AsyncState] with a value
AsyncData(
const AsyncData(
T data, {
super.isLoading = false,
super.error,
Expand All @@ -351,7 +351,7 @@ class AsyncData<T> extends AsyncState<T> {
/// State for an [AsyncState] with an error
class AsyncError<T> extends AsyncState<T> {
/// State for an [AsyncState] with an error
AsyncError(
const AsyncError(
Object error,
StackTrace? stackTrace, {
super.isLoading = false,
Expand All @@ -371,7 +371,7 @@ class AsyncError<T> extends AsyncState<T> {
/// State for an [AsyncState] with a loading state
class AsyncLoading<T> extends AsyncState<T> {
/// State for an [AsyncState] with a loading state
AsyncLoading({
const AsyncLoading({
super.value,
super.error,
super.isLoading = true,
Expand Down

0 comments on commit 013360c

Please sign in to comment.