getPortServiceByNameModel static method

PortService getPortServiceByNameModel(
  1. String name,
  2. dynamic model
)

Implementation

static PortService getPortServiceByNameModel(String name, model) {
  PortService portService = basePortService;
  portService.info["name"] = name;
  portService.info["model"] = model;
  return portService;
}