activeHost property

String activeHost

Implementation

String get activeHost {
  final address = activeServer.split(':')[1].substring('//'.length);

  return address.contains('/')
      ? address.substring(0, address.indexOf('/'))
      : address;
}