toJson method
Implementation
Map<String, dynamic> toJson() {
final _resultData = <String, dynamic>{};
final l$progress = progress;
_resultData['progress'] =
l$progress == null ? null : decimalToJson(l$progress);
final l$objective = objective;
_resultData['objective'] =
l$objective == null ? null : decimalToJson(l$objective);
final l$currentAmount = currentAmount;
_resultData['currentAmount'] =
l$currentAmount == null ? null : decimalToJson(l$currentAmount);
final l$numberOfParticipants = numberOfParticipants;
_resultData['numberOfParticipants'] = l$numberOfParticipants;
final l$donation = donation;
_resultData['donation'] = l$donation?.toJson();
return _resultData;
}