FrontendServerAssetReader class
A reader for Dart sources and related source maps provided by the Frontend Server.
- Implemented types
Constructors
- FrontendServerAssetReader({required String outputPath, required String packageRoot, String? basePath})
- Creates a FrontendServerAssetReader.
Properties
Methods
-
close(
) → Future< void> -
Closes connections
override
-
dartSourceContents(
String serverPath) → Future< String?> -
Returns the contents for a dart source at the provided server path, or
null if the resource does not exist.
override
-
metadataContents(
String serverPath) → Future< String> -
Returns the contents for the merged metadata output at the provided path,
or null if the resource does not exist.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sourceMapContents(
String serverPath) → Future< String?> -
Returns the contents for a source map at the provided server path, or
null if the resource does not exist.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
updateCaches(
) → void - Updates the internal caches by reading the Frontend Server output files.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited