port property

String get port
inherited

Implementation

String get port {
  final uri = _uri;
  if (uri == null) return '';
  final port = uri.port;
  return port == 0 ? '' : port.toString();
}
set port (String value)
inherited

Implementation

set port(String value) {
  _updateUri(_uri?.replace(port: int.tryParse(value) ?? 0));
}