of static method
Implementation
static TcccCallUITokens of(BuildContext context) {
final theme = context.dependOnInheritedWidgetOfExactType<TcccCallUITheme>();
if (theme != null) {
return theme.tokens;
}
return TcccCallUITokens.forBrightness(
MediaQuery.platformBrightnessOf(context),
);
}