apply lint prefer_void_to_null in packages/flutter_tools (#22686)
This commit is contained in:
committed by
GitHub
parent
c26b56cba3
commit
2d3ff10d62
@@ -39,7 +39,7 @@ import 'src/runner/flutter_command.dart';
|
||||
/// Main entry point for commands.
|
||||
///
|
||||
/// This function is intended to be used from the `flutter` command line tool.
|
||||
Future<Null> main(List<String> args) async {
|
||||
Future<void> main(List<String> args) async {
|
||||
final bool verbose = args.contains('-v') || args.contains('--verbose');
|
||||
|
||||
final bool doctor = (args.isNotEmpty && args.first == 'doctor') ||
|
||||
|
||||
Reference in New Issue
Block a user