non-nullable LicenseEntry.packages (#62972)

This commit is contained in:
Alexandre Ardhuin 2020-08-05 18:34:54 +02:00 committed by GitHub
parent ce1cfbe71d
commit f724ec028f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,7 @@ abstract class LicenseEntry {
const LicenseEntry();
/// The names of the packages that this license entry applies to.
Iterable<String>? get packages;
Iterable<String> get packages;
/// The paragraphs of the license, each as a [LicenseParagraph] consisting of
/// a string and some formatting information. Paragraphs can include newline
@ -123,7 +123,7 @@ class LicenseEntryWithLineBreaks extends LicenseEntry {
const LicenseEntryWithLineBreaks(this.packages, this.text);
@override
final List<String>? packages;
final List<String> packages;
/// The text of the license.
///