FeedState.initial constructor

FeedState.initial([
  1. InitialFeedState? state
])

Implementation

factory FeedState.initial([InitialFeedState? state]) => FeedState(
  loading: false,
  size: 0,
  pendingItems: [],
  items: state?.items ?? [],
  hasMore: state?.hasMore ?? true,
  token: state?.pageToken ?? null,
  addedItems: {}
);