enable prefer_function_declarations_over_variables lint (#77398)

This commit is contained in:
Michael Goderbauer
2021-03-05 18:29:04 -08:00
committed by GitHub
parent 3571882e43
commit 807bb29888
70 changed files with 274 additions and 276 deletions

View File

@@ -143,7 +143,7 @@ class TestPlatformLocation extends PlatformLocation {
String hash = '';
@override
Object? Function() state = () => null;
Object? get state => null;
/// Mocks the base href of the document.
String baseHref = '';