PortSpec constructor

PortSpec({
  1. required PortNum num,
  2. String? type,
  3. bool? published,
  4. bool? public,
  5. List<EndpointSpec>? endpoints,
  6. String? liveness,
})

Implementation

PortSpec({required this.num, this.type, this.published, this.public, List<EndpointSpec>? endpoints, this.liveness})
  : endpoints = endpoints ?? [];