remove unnecessary .toString() (#103226)
This commit is contained in:
committed by
GitHub
parent
a1a46c96c4
commit
d40ee2149c
@@ -413,7 +413,7 @@ mixin CommandHandlerFactory {
|
||||
}
|
||||
|
||||
if (text == null) {
|
||||
throw UnsupportedError('Type ${widget.runtimeType.toString()} is currently not supported by getText');
|
||||
throw UnsupportedError('Type ${widget.runtimeType} is currently not supported by getText');
|
||||
}
|
||||
|
||||
return GetTextResult(text);
|
||||
|
||||
Reference in New Issue
Block a user