toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['link'] = this.link;
data['id'] = this.id;
data['long_url'] = this.longUrl;
data['title'] = this.title;
data['archived'] = this.archived;
data['created_at'] = this.createdAt;
data['created_by'] = this.createdBy;
data['client_id'] = this.clientId;
data['custom_bitlinks'] = this.customBitlinks;
data['tags'] = this.tags;
data['launchpad_ids'] = this.launchpadIds;
if (this.deeplinks != null) {
data['deeplinks'] = this.deeplinks!.map((v) => v.toJson()).toList();
}
return data;
}