call method
Возвращает TextStyle по роли.
Implementation
TextStyle call(String role) {
final style = tokens[role];
if (style == null) {
throw ArgumentError.value(
role,
'role',
'Типографическая роль не найдена.',
);
}
return style;
}