non-nullable LicenseEntry.packages (#62972)
This commit is contained in:
parent
ce1cfbe71d
commit
f724ec028f
@ -47,7 +47,7 @@ abstract class LicenseEntry {
|
|||||||
const LicenseEntry();
|
const LicenseEntry();
|
||||||
|
|
||||||
/// The names of the packages that this license entry applies to.
|
/// 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
|
/// The paragraphs of the license, each as a [LicenseParagraph] consisting of
|
||||||
/// a string and some formatting information. Paragraphs can include newline
|
/// a string and some formatting information. Paragraphs can include newline
|
||||||
@ -123,7 +123,7 @@ class LicenseEntryWithLineBreaks extends LicenseEntry {
|
|||||||
const LicenseEntryWithLineBreaks(this.packages, this.text);
|
const LicenseEntryWithLineBreaks(this.packages, this.text);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
final List<String>? packages;
|
final List<String> packages;
|
||||||
|
|
||||||
/// The text of the license.
|
/// The text of the license.
|
||||||
///
|
///
|
||||||
|
Loading…
x
Reference in New Issue
Block a user