resolveValue method
Résout la valeur CSS (sans signe) du token, ou null si inconnue.
Implementation
String? resolveValue(JxClassToken token, JxThemeContract theme) {
if (token.isArbitrary) {
if (!allowArbitrary) return null;
return checkedArbitraryValue(token);
}
final raw = token.value!;
final category = themeCategory;
if (category != null) {
final fromTheme = theme.resolveToken(category, raw);
if (fromTheme != null) return fromTheme;
}
return keywords[raw] ?? fallback?.call(raw);
}