mappedPort method

int? mappedPort(
  1. int port
)

The host port the TCP port of the container is published on, or null when it is not published.

Implementation

int? mappedPort(int port) => ports['$port/tcp'];