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

@@ -189,7 +189,7 @@ class MotionEventsBodyState extends State<MotionEventsBody> {
if (!mounted) {
return;
}
showMessage(context, 'Failed saving ${e.toString()}');
showMessage(context, 'Failed saving $e');
}
}
@@ -309,6 +309,6 @@ class TouchEventDiff extends StatelessWidget {
for (int i = 0; i < coords.length; i++) {
buffer.write('p$i x: ${coords[i]['x']} y: ${coords[i]['y']}, pressure: ${coords[i]['pressure']} ');
}
print(buffer.toString());
print(buffer);
}
}