Returns the top-level import map as a Dart Map with an 'imports' key.
'imports'
static Map<String, dynamic> toMap() => { 'imports': {for (final e in _deps.entries) e.key: e.value.url}, };