parseExtended function

Mapping parseExtended(
  1. String jsonMap, {
  2. Map<String, Map>? otherMaps,
  3. Object? mapUrl,
})

Parses a source map or source map bundle directly from a json string.

mapUrl, which may be either a String or a Uri, indicates the URL of the source map file itself. If it's passed, any URLs in the source map will be interpreted as relative to this URL when generating spans.

Implementation

Mapping parseExtended(String jsonMap,
        {Map<String, Map>? otherMaps, /*String|Uri*/ Object? mapUrl}) =>
    parseJsonExtended(jsonDecode(jsonMap),
        otherMaps: otherMaps, mapUrl: mapUrl);