Stream<LicenseEntry> licenses

Returns the licenses that have been registered.

Because generating the list of licenses is expensive, this function should only be called once.

Source

static Stream<LicenseEntry> get licenses async* {
  if (_collectors == null)
    return;
  for (LicenseEntryCollector collector in _collectors)
    yield* collector();
}