Skip to content

Commit 28b6809

Browse files
authored
feat(dart_frog): change Response.json body to type Object? (#61)
1 parent cbbc9d3 commit 28b6809

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dart_frog/lib/src/response.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Response {
3535
/// Create a [Response] with a json body.
3636
Response.json({
3737
int statusCode = 200,
38-
Map<String, dynamic>? body = const <String, dynamic>{},
38+
Object? body = const <String, dynamic>{},
3939
Map<String, String> headers = const <String, String>{},
4040
}) : this(
4141
statusCode: statusCode,

0 commit comments

Comments
 (0)