HiveViewState constructor

HiveViewState({
  1. required Map<Box, FromJsonConverter> boxesMap,
  2. Box? currentOpenedBox,
  3. HiveViewObject? selectedBoxValue,
  4. List<HiveViewObject>? nestedObjectList,
  5. List<Map<int, String>>? objectNestedIndices,
})

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,
});