outputObfuscateMap method

String outputObfuscateMap()

輸出混淆路徑映射檔

Implementation

String outputObfuscateMap() {
  final file = File(join(projectPath!, 'assets_obfuscate_map.json'));
  final encoder = JsonEncoder.withIndent('  ');
  final prettyprint = encoder
      .convert(obfuscatePathList.map((e) => e.toMap(projectPath!)).toList());
  file.writeAsStringSync(prettyprint);
  return file.path;
}