enable prefer_function_declarations_over_variables lint (#77398)
This commit is contained in:
committed by
GitHub
parent
3571882e43
commit
807bb29888
@@ -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 = '';
|
||||
|
||||
Reference in New Issue
Block a user