$AnchorPicFromJson function

AnchorPic $AnchorPicFromJson(
  1. Map<String, dynamic> json
)

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;
}