readAndParse method
Implementation
Future<Map<String, dynamic>> readAndParse(FileType fileType) async {
try {
final content = await read();
return BaseDecoder.decodeWithFileType(fileType, content);
} on FormatException catch (e) {
print('');
throw 'File: $path\n$e';
}
}