diff --git a/packages/flutter/lib/src/foundation/licenses.dart b/packages/flutter/lib/src/foundation/licenses.dart index 53a27bfdaa..1e86f71f2a 100644 --- a/packages/flutter/lib/src/foundation/licenses.dart +++ b/packages/flutter/lib/src/foundation/licenses.dart @@ -47,7 +47,7 @@ abstract class LicenseEntry { const LicenseEntry(); /// The names of the packages that this license entry applies to. - Iterable? get packages; + Iterable 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? packages; + final List packages; /// The text of the license. ///