$LabelEntityFromJson function
Implementation
LabelEntity $LabelEntityFromJson(Map<String, dynamic> json) {
final LabelEntity labelEntity = LabelEntity();
final List<LabelItem>? anchorLabel = jsonConvert.convertListNotNull<LabelItem>(json['anchorLabel']);
if (anchorLabel != null) {
labelEntity.anchorLabel = anchorLabel;
}
final List<LabelItem>? talkLabel = jsonConvert.convertListNotNull<LabelItem>(json['talkLabel']);
if (talkLabel != null) {
labelEntity.talkLabel = talkLabel;
}
return labelEntity;
}