Remove unnecessary null checks in dev/devicelab (#118842)

This commit is contained in:
Michael Goderbauer
2023-01-20 10:56:44 -08:00
committed by GitHub
parent f291eb3495
commit ab3c82244e
9 changed files with 12 additions and 74 deletions

View File

@@ -19,7 +19,7 @@ class DeviceException implements Exception {
final String message;
@override
String toString() => message == null ? '$DeviceException' : '$DeviceException: $message';
String toString() => '$DeviceException: $message';
}
/// Gets the artifact path relative to the current directory.