ports property

  1. @override
List<String> get ports
override

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 ?? []);