sectionsByTabCode property

Map<String, List<JunnyMenuSectionViewModel>> get sectionsByTabCode

按 Tab 编码组织的区块列表。

Implementation

Map<String, List<JunnyMenuSectionViewModel>> get sectionsByTabCode {
  return <String, List<JunnyMenuSectionViewModel>>{
    kSubsystemAllTabCode: rootSections,
    for (final JunnyMenuSectionViewModel section in rootSections)
      section.sectionKey: <JunnyMenuSectionViewModel>[section],
  };
}