BloomRpcServerResponse.badRequest constructor
Factory for a bad request response (status 400).
Implementation
factory BloomRpcServerResponse.badRequest(dynamic body,
{Map<String, String>? headers}) =>
BloomRpcServerResponse(
statusCode: 400,
body: body,
headers: headers ??
const {'content-type': 'application/json; charset=utf-8'},
);