HiveViewState constructor
HiveViewState({
- required Map<
Box, FromJsonConverter> boxesMap, - Box? currentOpenedBox,
- HiveViewObject? selectedBoxValue,
- List<
HiveViewObject> ? nestedObjectList, - List<
Map< ? objectNestedIndices,int, String> >
Initializes a HiveViewState object with the given parameters
boxesMap
: A map of Box objects and their associated FromJsonConverter functions
currentOpenedBox
: The currently opened box
selectedBoxValue
: The selected value of the current opened box
nestedObjectList
: List of nested objects in the current opened box
objectNestedIndices
: Indices of the nested objects in the current opened box
Implementation
HiveViewState({
required this.boxesMap,
this.currentOpenedBox,
this.selectedBoxValue,
this.nestedObjectList,
this.objectNestedIndices,
});