readJsonFiles function
Implementation
Map<File, String> readJsonFiles(String localizationPath) {
final response = <File, String>{};
final dir = Directory(localizationPath);
final files = dir.listSync();
for (var file in files) {
response[(file as File)] = (file).readAsStringSync();
}
return response;
}