Converts the object to a map
@override Map<String, dynamic> toJson() { final map = super.toJson(); map['data'] = {'runId': runId, 'threadId': threadId}; return map; }