registerToken method

void registerToken(
  1. String token,
  2. int accountId
)

Makes token valid for accountId.

Implementation

void registerToken(String token, int accountId) => _tokens[token] = accountId;