ListState constructor
const
ListState({ - List<String> ids = const [],
- int? total,
- String? nextCursor,
- String? prevCursor,
- bool hasNextPage = false,
- bool hasPrevPage = false,
- bool isFetching = false,
- bool isFetchingMore = false,
- String? error,
- DateTime? lastFetched,
- bool stale = false,
})
Implementation
const ListState({
this.ids = const [],
this.total,
this.nextCursor,
this.prevCursor,
this.hasNextPage = false,
this.hasPrevPage = false,
this.isFetching = false,
this.isFetchingMore = false,
this.error,
this.lastFetched,
this.stale = false,
});