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

ExtensionsManager({required String buildDir})

Properties

buildDir String
The build directory of DevTools that is being served by the DevTools server.
final
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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serveAvailableExtensions(String? rootPath) Future<void>
Serves any available DevTools extensions for the given rootPath, where rootPath 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