licenses function

Stream<LicenseEntry> licenses()

Implementation

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

  yield LicenseEntryWithLineBreaks(<String>['Montserrat'], montserrat);
  yield LicenseEntryWithLineBreaks(<String>['Mulish'], mulish);
}