persistent property

bool persistent

Whether the collection should be cached for the workspace and applied to the terminal across window reloads. When true the collection will be active immediately such when the window reloads. Additionally, this API will return the cached version if it exists. The collection will be invalidated when the extension is uninstalled or when the collection is cleared. Defaults to true.

Implementation

_i2.bool get persistent => _i5.getProperty(
      this,
      'persistent',
    );
void persistent=(bool value)

Implementation

set persistent(_i2.bool value) {
  _i5.setProperty(
    this,
    'persistent',
    value,
  );
}