localResourceRoots property
Root paths from which the webview can load local (filesystem) resources using uris from asWebviewUri
Default to the root folders of the current workspace plus the extension's install directory.
Pass in an empty array to disallow access to any local resources.
Implementation
_i2.List<_i3.Uri>? get localResourceRoots => (_i5.getProperty(
this,
'localResourceRoots',
) as _i2.List?)
?.cast();