setToken method

void setToken(
  1. JxTokenValue token
)

Ajoute ou remplace un token dans le thème.

Implementation

void setToken(JxTokenValue token) {
  final categoryMap = _categories.putIfAbsent(token.category, () => {});
  categoryMap[token.key] = token;
}