Query$challenge$challenge$donation.fromJson constructor
Query$challenge$challenge$donation.fromJson(
- Map<String, dynamic> json
)
Implementation
factory Query$challenge$challenge$donation.fromJson(
Map<String, dynamic> json) {
final l$progress = json['progress'];
final l$objective = json['objective'];
final l$currentAmount = json['currentAmount'];
final l$numberOfParticipants = json['numberOfParticipants'];
final l$donation = json['donation'];
return Query$challenge$challenge$donation(
progress: (l$progress as String?),
objective: (l$objective as String?),
currentAmount: (l$currentAmount as String?),
numberOfParticipants: (l$numberOfParticipants as int?),
donation: l$donation == null
? null
: Query$challenge$challenge$donation$donation.fromJson(
(l$donation as Map<String, dynamic>)),
);
}