$LevelSysCollectListAwardsFromJson function

LevelSysCollectListAwards $LevelSysCollectListAwardsFromJson(
  1. Map<String, dynamic> json
)

Implementation

LevelSysCollectListAwards $LevelSysCollectListAwardsFromJson(Map<String, dynamic> json) {
	final LevelSysCollectListAwards levelSysCollectListAwards = LevelSysCollectListAwards();
	final String? awardType = jsonConvert.convert<String>(json['awardType']);
	if (awardType != null) {
		levelSysCollectListAwards.awardType = awardType;
	}
	final String? image = jsonConvert.convert<String>(json['image']);
	if (image != null) {
		levelSysCollectListAwards.image = image;
	}
	final String? type = jsonConvert.convert<String>(json['type']);
	if (type != null) {
		levelSysCollectListAwards.type = type;
	}
	final String? icon = jsonConvert.convert<String>(json['icon']);
	if (icon != null) {
		levelSysCollectListAwards.icon = icon;
	}
	final int? num = jsonConvert.convert<int>(json['num']);
	if (num != null) {
		levelSysCollectListAwards.num = num;
	}
	final String? name = jsonConvert.convert<String>(json['name']);
	if (name != null) {
		levelSysCollectListAwards.name = name;
	}
	final int? targetId = jsonConvert.convert<int>(json['targetId']);
	if (targetId != null) {
		levelSysCollectListAwards.targetId = targetId;
	}
	return levelSysCollectListAwards;
}