Enable unreachable_from_main lint - it is stable now!!1 (#129854)

PLUS: clean-up of all the unreachable stuff.
This commit is contained in:
Michael Goderbauer
2023-07-05 17:09:01 -07:00
committed by GitHub
parent 99cb18b1a8
commit 55b6f049a6
45 changed files with 66 additions and 419 deletions

View File

@@ -12,9 +12,10 @@ const int _kNumWarmUp = 100;
class Data {
Data(this.value);
Map<String, dynamic> toJson() => <String, dynamic>{ 'value': value };
final int value;
@override
String toString() => 'Data($value)';
}
List<Data> test(int length) {