SingleMapping class
A map containing direct source mappings.
Constructors
-
SingleMapping.fromEntries(Iterable<
Entry> entries, [String? fileUrl]) -
factory
-
SingleMapping.fromJson(Map<
String, dynamic> map, {Object? mapUrl})
Properties
- debugString → String
-
no setter
-
extensions
→ Map<
String, dynamic> -
final
-
files
→ List<
SourceFile?> -
The
SourceFile
s to which the entries in lines refer.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
lines
→ List<
TargetLineEntry> -
Entries indicating the beginning of each span.
final
-
names
→ List<
String> -
Source names used in the mapping, indexed by id.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceRoot ↔ String?
-
Source root prepended to all entries in urls.
getter/setter pair
- targetUrl ↔ String?
-
Url of the target file.
getter/setter pair
-
urls
→ List<
String> -
Source urls used in the mapping, indexed by id.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
spanFor(
int line, int column, {Map< String, SourceFile> ? files, String? uri}) → SourceMapSpan? -
Returns the span associated with
line
andcolumn
.override -
spanForLocation(
SourceLocation location, {Map< String, SourceFile> ? files}) → SourceMapSpan? -
Returns the span associated with
location
.inherited -
toJson(
{bool includeSourceContents = false}) → Map< String, dynamic> - Encodes the Mapping mappings as a json map.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited