HiveViewState class
Constructors
-
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
Properties
-
boxesMap
→ Map<
Box, FromJsonConverter> -
A map of Box objects and their associated FromJsonConverter functions
final
- currentOpenedBox → Box?
-
The currently opened box
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
nestedObjectList
→ List<
HiveViewObject> ? -
List of nested objects in the current opened box
final
-
objectNestedIndices
→ List<
Map< ?int, String> > -
Indices of the nested objects in the current opened box
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedBoxValue → HiveViewObject?
-
The selected value of the current opened box
final
Methods
-
clearState(
) → HiveViewState - Clears the state of the HiveViewState object
-
copyWith(
{Box? currentOpenedBox, HiveViewObject? selectedBoxValue, List< HiveViewObject> ? nestedObjectList, Map<Box, FromJsonConverter> ? boxesMap, List<Map< ? objectNestedIndices}) → HiveViewStateint, String> > - Creates a new HiveViewState object with the given parameters
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited