Fix plugin java class desugar (#73758)

This commit is contained in:
Emmanuel Garcia
2021-01-13 14:09:04 -08:00
committed by GitHub
parent 49667ba2f5
commit da90156f8c
4 changed files with 117 additions and 63 deletions

View File

@@ -456,6 +456,8 @@ List<String> flutterCommandArgs(String command, List<String> options) {
];
}
/// Runs the flutter `command`, and returns the exit code.
/// If `canFail` is `false`, the future completes with an error.
Future<int> flutter(String command, {
List<String> options = const <String>[],
bool canFail = false, // as in, whether failures are ok. False means that they are fatal.