AssetReader class abstract

A reader for Dart sources and related source maps.

Implementers

Constructors

AssetReader()

Properties

basePath String
Base path of the application, for example, set up in the index file:
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
Closes connections
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.
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.
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.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited