manifest property

  1. @override
PluginManifest get manifest
inherited

A view plugin on plugin API 1.0: nothing it does is in the step, so a replay does not record it being switched. With replaces or replacesStages, it declares PluginPermission.replace.

Implementation

@override
PluginManifest get manifest => PluginManifest(
  id: id,
  apiVersion: const PluginApiVersion(1, 0),
  dependsOn: dependsOn,
  touches: PluginTouches.view,
  permissions: <PluginPermission>{
    if (replaces.isNotEmpty || replacesStages.isNotEmpty)
      PluginPermission.replace,
  },
  description: description,
);