resolveCommand static method
Selects a project-owned command or the repository-aware Flutter default.
Implementation
static Future<String> resolveCommand(
String projectRoot, {
String? configuredCommand,
}) async {
if (configuredCommand != null) return configuredCommand;
final executable = await FlutterToolchain.resolveExecutable(projectRoot);
return '$executable build appbundle --release';
}