getStateLocation method
Return the folder in which the plugin with the given pluginId
can store
state that will persist across sessions. The folder returned for a given
id will not be returned for a different id, ensuring that plugins do not
need to be concerned with file name collisions with other plugins,
assuming that the plugin ids are unique. The plugin ids must be valid
folder names.
Implementation
@override
Folder? getStateLocation(String pluginId) {
final path = p.join(io.Directory.systemTemp.path, pluginId);
return fs.directory(path).toAnalyzerFolder(fs);
}