LoadStrategy class

Implementers

Constructors

LoadStrategy()

Properties

handler Handler
A handler for strategy specific requests. [...]
read-only
id String
The ID for this strategy. [...]
read-only
loadLibrariesSnippet String
Returns a snippet of JS code that loads all Dart libraries into a libs variable.
read-only
loadModuleSnippet String
Returns a snippet of JS code that can be used to load a JS module. [...]
read-only
reloadConfiguration ReloadConfiguration
The reload configuration for this strategy, e.g. liveReload.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

bootstrapFor(String entrypoint) Future<String>
Returns the bootstrap required for this LoadStrategy. [...]
loadClientSnippet(String clientScript) String
JS code snippet for loading the injected client script.
loadLibrarySnippet(String libraryUri) String
Returns a snippet of JS code that initializes a library variable that has the actual library object in DDC for libraryUri. [...]
moduleForServerPath(String serverPath) String
Returns the module for the corresponding server path. [...]
serverPathForAppUri(String appUri) String
Returns the server path for the app uri. [...]
serverPathForModule(String module) String
Returns the server path for the provided module. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited