Skip to content

Commit dca63b4

Browse files
committed
Missing type annotations
1 parent a1ea1f5 commit dca63b4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/test/admin/api_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1111,4 +1111,4 @@ void main() {
11111111
});
11121112
}
11131113

1114-
dynamic _json(value) => json.decode(json.encode(value));
1114+
dynamic _json(Object? value) => json.decode(json.encode(value));

app/test/package/package_publisher_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ void main() {
295295
});
296296
}
297297

298-
dynamic _json(value) => json.decode(json.encode(value));
298+
dynamic _json(Object? value) => json.decode(json.encode(value));
299299

300300
void _testUserNotMemberOfPublisher({
301301
required Future<void> Function(PubApiClient client) fn,

app/test/publisher/api_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ void main() {
989989
});
990990
}
991991

992-
dynamic _json(value) => json.decode(json.encode(value));
992+
dynamic _json(Object? value) => json.decode(json.encode(value));
993993

994994
void _testAdminAuthIssues(Future Function(PubApiClient client) fn) {
995995
setupTestsWithCallerAuthorizationIssues(fn);

0 commit comments

Comments
 (0)