toJson method

Map<String, dynamic> toJson()

Implementation

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