Fixed issues for linter and analyzer

This commit is contained in:
M
2020-01-08 15:12:50 +02:00
parent 6c832a4efd
commit 78ec11de47
168 changed files with 2274 additions and 1971 deletions
+2 -2
View File
@@ -12,9 +12,9 @@ Future<void> main() async {
: secretsTestPath;
final inoutContent = File(inputPath).readAsStringSync();
final config = json.decode(inoutContent);
final config = json.decode(inoutContent) as Map<String, String>;
final output =
'const salt = \'${config["salt"]}\';\nconst key = \'${config["key"]}\';\nconst walletSalt = \'${config["walletSalt"]}\';\nconst shortKey = \'${config["shortKey"]}\';\nconst change_now_api_key = \'${config["change_now_api_key"]}\';';
File(outputPath).writeAsString(output);
await File(outputPath).writeAsString(output);
}