$AnchorPicFromJson function
Implementation
AnchorPic $AnchorPicFromJson(Map<String, dynamic> json) {
final AnchorPic anchorPic = AnchorPic();
final String? cover = jsonConvert.convert<String>(json['cover']);
if (cover != null) {
anchorPic.cover = cover;
}
final String? picId = jsonConvert.convert<String>(json['picId']);
if (picId != null) {
anchorPic.picId = picId;
}
final String? url = jsonConvert.convert<String>(json['url']);
if (url != null) {
anchorPic.url = url;
}
return anchorPic;
}