ResponseLike typedef

ResponseLike = ({String body, Map<String, List<String>> headers, int statusCode})

A record containing the status code, body, and headers for a response.

Implementation

typedef ResponseLike = ({int statusCode, String body, Map<String, List<String>> headers});