TotalCollectedAmount.fromJson constructor
Implementation
TotalCollectedAmount.fromJson(Map<String, dynamic> json) {
price = json['price'] != null ? new Price.fromJson(json['price']) : null;
name = json['name'];
label = json['label'];
id = json['id'];
}