getAndroidAppLinkSettings method

Future<Map<String, Object?>> getAndroidAppLinkSettings({
  1. required String rootPath,
  2. required String buildVariant,
})

Implementation

Future<Map<String, Object?>> getAndroidAppLinkSettings({
  required String rootPath,
  required String buildVariant,
}) {
  return _runFlutterCommand(
    <String>[
      'analyze',
      '--android',
      '--output-app-link-settings',
      '--build-variant=$buildVariant',
      rootPath,
    ],
    outputMatcher: _outputFilePathRegex,
  ).then<Map<String, Object?>>(
    _handleReadJsonFile,
    onError: _handleRunFlutterError,
  );
}