toJsonHelper static method
Implementation
static Map<String, dynamic>? toJsonHelper(
final KnowledgePanels? knowledgePanels) {
final Map<String, dynamic> result = {};
if (knowledgePanels == null) {
return null;
}
for (final MapEntry<String, KnowledgePanel> entry
in knowledgePanels.panelIdToPanelMap.entries) {
result[entry.key] = entry.value.toJson();
}
return result;
}