port property

  1. @override
int? get port
override

The port of the socket giving rise to the exception.

This is either the source or destination address of a socket, or it can be null if no socket end-point was involved in the cause of the exception.

Implementation

@override
int? get port => socketException.port;