createTempFile method
Creates a temporary file.
Implementation
@override
Future<String> createTempFile(String content) async {
var file = _createTemporaryFile('temp');
if (content.isNotEmpty) {
await file.writeAsString(content, flush: true);
}
_tempFiles.add(file.path);
return file.path;
}