onBoxTap method

void onBoxTap(
  1. dynamic boxData
)

Implementation

void onBoxTap(dynamic boxData) {
  if (boxData is HelpdeskCategory) service.getSectionsForCategory(boxData);
  if (boxData is HelpdeskSection) service.getArticlesForSection(boxData);
  if (boxData is HelpdeskArticle) service.getArticleById(boxData);
}