Unverified Commit e9b18c1d authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

[null-safety] fix the snippets (#69122)

parent 8c3d564d
...@@ -186,6 +186,7 @@ class SampleChecker { ...@@ -186,6 +186,7 @@ class SampleChecker {
/// Computes the headers needed for each sample file. /// Computes the headers needed for each sample file.
List<Line> get headers { List<Line> get headers {
return _headers ??= <String>[ return _headers ??= <String>[
'// @dart = 2.9',
'// generated code', '// generated code',
"import 'dart:async';", "import 'dart:async';",
"import 'dart:convert';", "import 'dart:convert';",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment