Map<String, dynamic> toJson() { return { 'ok': ok, 'status': status, 'statusText': statusText, 'body': body, 'arrayBuffer': arrayBuffer, }; }