@alwaysThrows is deprecated. Return Never instead. (flutter/engine#39269)

This commit is contained in:
Jackson Gardner 2023-01-30 16:31:56 -08:00 committed by GitHub
parent 5fafcca371
commit 5c3acfecc6

View File

@ -224,8 +224,7 @@ class ProcessManager {
return (await eval()).stderr;
}
@alwaysThrows
void _throwProcessException({required String description, int? exitCode}) {
Never _throwProcessException({required String description, int? exitCode}) {
throw ProcessException(
description: description,
executable: executable,