resolve method

  1. @visibleForTesting
Token? resolve(
  1. String key, [
  2. String theme = kDefaultThemeName
])

Implementation

@visibleForTesting
Token? resolve(String key, [String theme = kDefaultThemeName]) {
  return themes.firstWhere((e) => e.name == theme).resolve(key);
}