DeleteOrderDealsResponse.fromJson constructor

DeleteOrderDealsResponse.fromJson(
  1. Map _json
)

Implementation

DeleteOrderDealsResponse.fromJson(core.Map _json) {
  if (_json.containsKey("deals")) {
    deals = (_json["deals"] as core.List)
        .map<MarketplaceDeal>((value) => new MarketplaceDeal.fromJson(value))
        .toList();
  }
  if (_json.containsKey("proposalRevisionNumber")) {
    proposalRevisionNumber = _json["proposalRevisionNumber"];
  }
}