From f724ec028f739023b7dd02a295877ba4b1360039 Mon Sep 17 00:00:00 2001 From: Alexandre Ardhuin Date: Wed, 5 Aug 2020 18:34:54 +0200 Subject: [PATCH] non-nullable LicenseEntry.packages (#62972) --- packages/flutter/lib/src/foundation/licenses.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. ///