GoalStatusInfoObject.fromJson constructor
Implementation
factory GoalStatusInfoObject.fromJson(Map<String, dynamic> json) => GoalStatusInfoObject(
name: json["name"] ?? '',
status: json["status"]?.toString() ?? '',
winned: json["winned"] ?? 0,
winningDates: json["winning_dates"] != null
? List<String>.from(json["winning_dates"].map((x) => x.toString()))
: [],
goalId: json["goal_id"] ?? '',
);