PropsInfoBean.fromJson constructor

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

Implementation

PropsInfoBean.fromJson(Map<String, dynamic> json) {
  amount = json["amount"] ?? "";
  state = json["state"] ?? 0;
  props1 = PropsItem.fromJson(json["props1"]);
  props2 = PropsItem.fromJson(json["props2"]);
  props3 = PropsItem.fromJson(json["props3"]);
}