readFile method
Implementation
Future<String> readFile(String path) async {
if (!path.endsWith('.harnCollection')) {
throw Exception('Invalid file extension. Only .harn files are allowed.');
}
return await HarnDBPlatform.instance.read(path);
}