licenses function

Stream<LicenseEntry> licenses()

Implementation

Stream<LicenseEntry> licenses() async* {
  final sora = await rootBundle.loadString(
    '$_kLicenseRoot/Sora.txt',
  );
  final mulish = await rootBundle.loadString(
    '$_kLicenseRoot/Mulish.txt',
  );

  yield LicenseEntryWithLineBreaks(<String>['Sora'], sora);
  yield LicenseEntryWithLineBreaks(<String>['Mulish'], mulish);
}