sources property

  1. @JsonKey(name: 's', toJson: _toJsonAssetIds)
Set<AssetId> sources
final

The libraries in the strongly connected import cycle with primarySource.

In most cases without cyclic imports this will contain only the primary source. For libraries with an import cycle all of the libraries in the cycle will be contained in sources. For example:

library foo;

import 'bar.dart';
library bar;

import 'foo.dart';

Libraries foo and bar form an import cycle so they would be grouped in the same module. Every Dart library will only be contained in a single Module.

Implementation

@JsonKey(name: 's', toJson: _toJsonAssetIds)
final Set<AssetId> sources;