SentryResponse.fromJson constructor
Deserializes a SentryResponse from JSON Map.
Implementation
factory SentryResponse.fromJson(Map<String, dynamic> json) {
return SentryResponse(
headers: json.containsKey('headers') ? Map.from(json['headers']) : null,
cookies: json['cookies'],
bodySize: json['body_size'],
statusCode: json['status_code'],
data: json['data'],
);
}