getStateLocation abstract method

Folder? getStateLocation(
  1. String pluginId
)

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

Folder? getStateLocation(String pluginId);