ListState<Record, Query> constructor
ListState<Record, Query> ({})
Creates a list state.
Implementation
ListState({
required this.query,
List<Record>? records,
ListStage stage = const IdleListStage(),
}) : recordsStore = records,
super(
stage: stage,
isInitialized: records != null,
isEmpty: records?.isEmpty ?? true,
);