getZendeskSectionsForCategory method

Future<List<HelpdeskSection>> getZendeskSectionsForCategory(
  1. HelpdeskCategory category
)

Implementation

Future<List<HelpdeskSection>> getZendeskSectionsForCategory(
    HelpdeskCategory category) async {
  return (await getZendeskSections(category.id)).map((section) {
    section.category = category.title;
    section.parentId = category.id;
    return section;
  }).toList();
}