ServicePort constructor

const ServicePort({
  1. String? appProtocol,
  2. String? name,
  3. int? nodePort,
  4. required int port,
  5. String? protocol,
  6. IntOrString? targetPort,
})

Default constructor.

Implementation

const ServicePort({
  this.appProtocol,
  this.name,
  this.nodePort,
  required this.port,
  this.protocol,
  this.targetPort,
});