@override Map<String, dynamic> toJson() => { 'type': type, // "response.cancel" if (eventId != null) 'event_id': eventId, if (responseId != null) 'response_id': responseId, };