globalStoragePath property

String get globalStoragePath

An absolute file path in which the extension can store global state. The directory might not exist on disk and creation is up to the extension. However, the parent directory is guaranteed to be existent.

Use {@linkcode ExtensionContext.globalStateglobalState} to store key value data.

Implementation

_i2.String get globalStoragePath => _i5.getProperty(
      this,
      'globalStoragePath',
    );