Enable strict-inference (#135043)
Avoids that dynamic accidentally sneaks in, see https://dart.dev/tools/analysis#enabling-additional-type-checks
This commit is contained in:
committed by
GitHub
parent
96a4ae9dc5
commit
b0a90aee17
@@ -147,7 +147,7 @@ class FakeHttpClient implements HttpClient {
|
||||
bool Function(X509Certificate cert, String host, int port)? badCertificateCallback;
|
||||
|
||||
@override
|
||||
Function(String line)? keyLog;
|
||||
void Function(String line)? keyLog;
|
||||
|
||||
@override
|
||||
void close({bool force = false}) { }
|
||||
|
||||
Reference in New Issue
Block a user