activePort property

String activePort

Implementation

String get activePort {
  var port = '80';
  final splitUrl = activeServer.split(':');
  if (splitUrl.length > 2) {
    port = splitUrl[2];
    port = port.contains('/') ? port.substring(0, port.indexOf('/')) : port;
  }

  return port;
}