/// Logs an amount against one objective of a shared goal. class ObjectiveProgressRequest { String groupId; String goalId; String objectiveId; double amount; String note; ObjectiveProgressRequest({this.groupId = "", this.goalId = "", this.objectiveId = "", this.amount = 0, this.note = ""}); Map toJson() { final Map data = {}; data['groupId'] = groupId; data['goalId'] = goalId; data['objectiveId'] = objectiveId; data['amount'] = amount; data['note'] = note; return data; } }