diff --git a/dev/bots/analyze-sample-code.dart b/dev/bots/analyze-sample-code.dart index 174b2bc16cf..6cd35610407 100644 --- a/dev/bots/analyze-sample-code.dart +++ b/dev/bots/analyze-sample-code.dart @@ -186,6 +186,7 @@ class SampleChecker { /// Computes the headers needed for each sample file. List get headers { return _headers ??= [ + '// @dart = 2.9', '// generated code', "import 'dart:async';", "import 'dart:convert';",