modifyFile2 method
Writes content to file.
Implementation
void modifyFile2(File file, String content) {
String convertedPath = convertPath(file.path);
resourceProvider.getFile(convertedPath).writeAsStringSync(content);
}
Writes content to file.
void modifyFile2(File file, String content) {
String convertedPath = convertPath(file.path);
resourceProvider.getFile(convertedPath).writeAsStringSync(content);
}