HttpResponseModel constructor
- @JsonSerializable(explicitToJson: true, anyMap: true)
Implementation
@JsonSerializable(explicitToJson: true, anyMap: true)
const factory HttpResponseModel({
int? statusCode,
Map<String, String>? headers,
Map<String, String>? requestHeaders,
String? body,
String? formattedBody,
@Uint8ListConverter() Uint8List? bodyBytes,
@DurationConverter() Duration? time,
List<String>? sseOutput,
}) = _HttpResponseModel;