SingleMapping class Null safety

A map containing direct source mappings.

Inheritance

Constructors

SingleMapping.fromEntries(Iterable<Entry> entries, [String? fileUrl])
factory
SingleMapping.fromJson(Map map, {dynamic mapUrl})

Properties

debugString String
read-only
extensions Map<String, dynamic>
final
files List<SourceFile?>
The SourceFiles to which the entries in lines refer. [...]
final
hashCode int
The hash code for this object. [...]
read-only, inherited
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.
read-only, inherited
sourceRoot String?
Source root prepended to all entries in urls.
read / write
targetUrl String?
Url of the target file.
read / write
urls List<String>
Source urls used in the mapping, indexed by id.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
spanFor(int line, int column, {Map<String, SourceFile>? files, String? uri}) SourceMapSpan?
Returns the span associated with line and column. [...]
override
spanForLocation(SourceLocation location, {Map<String, SourceFile>? files}) SourceMapSpan?
Returns the span associated with location.
inherited
toJson({bool includeSourceContents = false}) Map
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