ports property
Returns the mapped ports, as hostPort:containerPort.
A host port chosen by Docker (see DockerRunOptions.ports) is
resolved once the container is ready.
Implementation
@override
List<String> get ports => List.unmodifiable(_ports ?? []);