registerSourceMap static method

void registerSourceMap(
  1. String jsFilePathOrUrl,
  2. String sourceMapJson
)

Registers a parsed source map for a given JavaScript file URL or path.

Implementation

static void registerSourceMap(
  final String jsFilePathOrUrl,
  final String sourceMapJson,
) {
  _sourceMaps[jsFilePathOrUrl] = source_maps.parse(sourceMapJson);
}