Unverified Commit f724ec02 authored by Alexandre Ardhuin's avatar Alexandre Ardhuin Committed by GitHub

non-nullable LicenseEntry.packages (#62972)

parent ce1cfbe7
......@@ -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.
///
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment