Credit.fromJson constructor

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

Implementation

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