getIosBuildOptions method

Future<Map<String, Object?>> getIosBuildOptions({
  1. required String rootPath,
  2. String? ide,
  3. bool suppressAnalytics = false,
})

Implementation

Future<Map<String, Object?>> getIosBuildOptions({
  required String rootPath,
  String? ide,
  bool suppressAnalytics = false,
}) {
  return _runFlutterCommand(
    <String>['analyze', '--ios', '--list-build-options', rootPath],
    outputMatcher: _iosBuildOptionsJsonRegex,
    ide: ide,
    suppressAnalytics: suppressAnalytics,
  ).then<Map<String, Object?>>(
    _handleJsonOutput,
    onError: _handleRunFlutterError,
  );
}