PropertiesReward.fromJson constructor
PropertiesReward.fromJson(
- Map<String, dynamic> json
)
Implementation
factory PropertiesReward.fromJson(Map<String, dynamic> json) =>
PropertiesReward(
userId: json["userId"],
taskId: json["taskId"],
event: json["event"],
quantity: json["quantity"],
rewardId: json["rewardId"],
rewardName: json["rewardName"],
rewardType: json["rewardType"],
rewardValue: json["rewardValue"],
properties: json["properties"] == null
? null
: PurpleProperties.fromJson(json["properties"]),
);