getCount method

int getCount(
  1. String reaction
)

get reaction count

Implementation

int getCount(String reaction) => reactions?[reaction] ?? 0;