dwds library
Classes
- AppConnection
- A connection between the application loaded in the browser and DWDS.
- AppMetadata
- Metadata for the connected app.
- AssetReader
- A reader for Dart sources and related source maps.
- BuildRunnerRequireStrategyProvider
-
Provides a RequireStrategy suitable for use with
package:build_runner
. - BuildSettings
- App build settings.
- CompilerOptions
- Options passed to DDC and the expression compiler.
- DdcStrategy
- A load strategy for the DDC module system.
- DebugConnection
- A debug connection between the application in the browser and DWDS.
- DebugSettings
- Debug settings for the connected app.
- DevTools
- A server for Dart Devtools.
- Dwds
- The Dart Web Debug Service.
- DwdsEvent
- ExpressionCompilationResult
- Result of compilation of dart expression to JavaScript
- ExpressionCompiler
- Interface to provide means of compiling expressions from dart to JavaScript used to implement expression evaluation in any tools using dwds
- ExpressionCompilerService
- Service that handles expression compilation requests.
- FrontendServerAssetReader
- A reader for Dart sources and related source maps provided by the Frontend Server.
- FrontendServerDdcStrategyProvider
- Provides a DdcStrategy suitable for use with Frontend Server.
- FrontendServerRequireStrategyProvider
- Provides a RequireStrategy suitable for use with Frontend Server.
- LoadStrategy
- MetadataProvider
- A provider of metadata in which data is collected through DDC outputs.
- ModuleInfo
- PackageUriMapper
- ProxyServerAssetReader
- A reader for resources provided by a proxy server.
- RequireStrategy
- A load strategy for the require-js module system.
- SdkConfiguration
- Dart SDK configuration.
- SdkConfigurationProvider
- SDK configuration provider interface.
- SdkLayout
- Dart SDK layout.
- SocketConnection
- An individual (transport-agnostic) bidirectional socket connection.
- SocketHandler
- A handler that accepts (transport-agnostic) bidirectional socket connections.
- SseSocketConnection
-
An implementation of SocketConnection that users server-sent events (SSE)
and HTTP POSTS for bidirectional communication by wrapping an
SseConnection
. - SseSocketHandler
- An implementation of SocketHandler that accepts server-sent events (SSE) connections and wraps them in an SseSocketConnection.
- ToolConfiguration
- Configuration about the app, debug settings, and file system.
- WebSocketConnection
-
An implementation of SocketConnection that uses WebSockets for communication
by wrapping
WebSocketChannel
. - WebSocketSocketHandler
- An implementation of SocketHandler that accepts WebSocket connections and wraps them in a WebSocketConnection.
Enums
Functions
-
invalidVariableName(
String keyword, {bool strictMode = true}) → bool - Returns true for invalid JS variable names, such as keywords. Also handles invalid variable names in strict mode, like "arguments".
-
pathToJSIdentifier(
String path) → String - Transforms a path to a valid JS identifier.
-
toJSIdentifier(
String name) → String -
Escape
name
to make it into a valid identifier.
Typedefs
-
ConnectionProvider
= Future<
ChromeConnection> Function() -
DevToolsLauncher
= Future<
DevTools> Function(String hostname) -
UrlEncoder
= Future<
String> Function(String url)