TotalCollectedAmount.fromJson constructor

TotalCollectedAmount.fromJson(
  1. Map<String, dynamic> json
)

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'];
}