We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Response.json
Object?
1 parent cbbc9d3 commit 28b6809Copy full SHA for 28b6809
packages/dart_frog/lib/src/response.dart
@@ -35,7 +35,7 @@ class Response {
35
/// Create a [Response] with a json body.
36
Response.json({
37
int statusCode = 200,
38
- Map<String, dynamic>? body = const <String, dynamic>{},
+ Object? body = const <String, dynamic>{},
39
Map<String, String> headers = const <String, String>{},
40
}) : this(
41
statusCode: statusCode,
0 commit comments