ExtensionsManager class
Responsible for storing the available DevTools extensions and managing the
content that DevTools server will serve at build/devtools_extensions
.
When serveAvailableExtensions is called, the available extensions will be
looked up using package:extension_discovery, and the available extension's
assets will be copied to the build/devtools_extensions
directory that
DevTools server is serving.
Constructors
Properties
-
devtoolsExtensions
→ List<
DevToolsExtensionConfig> -
The list of available DevTools extensions that are being served by the
DevTools server.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
lookupLocationFor(
String extensionIdentifier) → String? -
Returns the absolute path of the assets for the extension with identifier
extensionIdentifier
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serveAvailableExtensions(
String? rootFileUriString, List< String> logs, DtdInfo? dtd) → Future<void> -
Serves any available DevTools extensions for the given
rootFileUriString
, whererootFileUriString
is the root for a Dart or Flutter project containing the.dart_tool/
directory. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited