apply lint prefer_void_to_null in dev/ (#22661)
This commit is contained in:
committed by
GitHub
parent
89c5ace117
commit
d340e2f229
@@ -33,7 +33,7 @@ class BenchmarkingBinding extends LiveTestWidgetsFlutterBinding {
|
||||
}
|
||||
}
|
||||
|
||||
Future<Null> main() async {
|
||||
Future<void> main() async {
|
||||
assert(false); // don't run this in checked mode! Use --release.
|
||||
stock_data.StockData.actuallyFetchData = false;
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ import '../common.dart';
|
||||
|
||||
const Duration kBenchmarkTime = Duration(seconds: 15);
|
||||
|
||||
Future<Null> main() async {
|
||||
Future<void> main() async {
|
||||
assert(false); // don't run this in checked mode! Use --release.
|
||||
stock_data.StockData.actuallyFetchData = false;
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ import '../common.dart';
|
||||
|
||||
const Duration kBenchmarkTime = Duration(seconds: 15);
|
||||
|
||||
Future<Null> main() async {
|
||||
Future<void> main() async {
|
||||
stock_data.StockData.actuallyFetchData = false;
|
||||
|
||||
// We control the framePolicy below to prevent us from scheduling frames in
|
||||
|
||||
Reference in New Issue
Block a user