getBadgeCount method

int getBadgeCount(
  1. int index
)

Implementation

int getBadgeCount(int index) {
  return badgeCounts[index] ?? 0;
}