Map<String, dynamic> toJson() { final Map<String, dynamic> data = new Map<String, dynamic>(); data['url'] = this.url; if (this.info != null) { data['info'] = this.info!.toJson(); } return data; }