apply partially the upcoming unnecessary_lambdas (#8810)

This commit is contained in:
Alexandre Ardhuin
2017-03-15 23:09:58 +01:00
committed by GitHub
parent f9ad230f15
commit 2166ea5b7f
33 changed files with 71 additions and 143 deletions

View File

@@ -250,7 +250,7 @@ class FlutterCommandRunner extends CommandRunner<Null> {
}
// The Android SDK could already have been set by tests.
context.putIfAbsent(AndroidSdk, () => AndroidSdk.locateAndroidSdk());
context.putIfAbsent(AndroidSdk, AndroidSdk.locateAndroidSdk);
if (globalResults['version']) {
flutterUsage.sendCommand('version');