BitlyParams.fromJson constructor
Implementation
BitlyParams.fromJson(Map<String, dynamic> json) {
longUrl = json['long_url'];
domain = json['domain'];
groupId = json['group_guid'];
title = json['title'];
tags = json['tags']?.cast<String>();
if (json['deeplinks'] != null) {
deeplinks = <DeeplinkParams>[];
json['deeplinks'].forEach((v) {
deeplinks!.add(new DeeplinkParams.fromJson(v));
});
}
}