ListVendorCustomersResponse.fromJson constructor

ListVendorCustomersResponse.fromJson(Map _json)

Implementation

ListVendorCustomersResponse.fromJson(core.Map _json) {
  if (_json.containsKey("customers")) {
    customers = (_json["customers"] as core.List)
        .map<Company>((value) => new Company.fromJson(value))
        .toList();
  }
  if (_json.containsKey("nextPageToken")) {
    nextPageToken = _json["nextPageToken"];
  }
  if (_json.containsKey("totalSize")) {
    totalSize = _json["totalSize"];
  }
}