Map<String, dynamic> toJson() { return { 'key': key, if (webhook != null) 'webhook': webhook, if (trackId != null) 'track_id': trackId, }; }