getAndroidBuildVariants method
Implementation
Future<Map<String, Object?>> getAndroidBuildVariants({
required String rootPath,
}) {
return _runFlutterCommand(
<String>['analyze', '--android', '--list-build-variants', rootPath],
outputMatcher: _androidBuildVariantJsonRegex,
).then<Map<String, Object?>>(
_handleJsonOutput,
onError: _handleRunFlutterError,
);
}