ContainerPort constructor
const
ContainerPort({})
Creates a new ContainerPort.
external Port exposed out of the container. If not given a free random port >= 32768 will be used.
internal Port within the container.
ip IP address/mask that can access this port. Defaults to 0.0.0.0.
protocol Protocol that can be used over this port. Defaults to tcp.
Implementation
const ContainerPort({
this.external,
required this.internal,
this.ip,
this.protocol,
});