mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
[platform_channels] Migrate to sound null safety (#803)
This commit is contained in:
@@ -39,9 +39,7 @@ class DemoInfo {
|
||||
final String demoTitle;
|
||||
final String demoRoute;
|
||||
|
||||
DemoInfo(this.demoTitle, this.demoRoute)
|
||||
: assert(demoTitle != null),
|
||||
assert(demoRoute != null);
|
||||
DemoInfo(this.demoTitle, this.demoRoute);
|
||||
}
|
||||
|
||||
List<DemoInfo> demoList = [
|
||||
|
||||
Reference in New Issue
Block a user