remove unnecessary .toString() (#103226)

This commit is contained in:
Alexandre Ardhuin
2022-05-07 01:04:13 +02:00
committed by GitHub
parent a1a46c96c4
commit d40ee2149c
29 changed files with 58 additions and 58 deletions

View File

@@ -149,6 +149,6 @@ abstract class TokenTemplate {
/// Generate a [TextTheme] text style name for the given component token.
String textStyle(String componentToken) {
return '$textThemePrefix${tokens["$componentToken.text-style"]!.toString()}';
return '$textThemePrefix${tokens["$componentToken.text-style"]}';
}
}