replaceMaps method
void
replaceMaps({
- required Map<
String, ReorderableEntity> updatedChildrenKeyMap, - required Map<
int, ReorderableEntity> updatedChildrenOrderMap,
Implementation
void replaceMaps({
required Map<String, ReorderableEntity> updatedChildrenKeyMap,
required Map<int, ReorderableEntity> updatedChildrenOrderMap,
}) {
childrenOrderMap.clear();
childrenOrderMap.addAll(updatedChildrenOrderMap);
childrenKeyMap.clear();
childrenKeyMap.addAll(updatedChildrenKeyMap);
}