urlHost property

String get urlHost
inherited

The host of url;

Implementation

String get urlHost {
  switch (address) {
    case '0.0.0.0':
    case '127.0.0.1':
      return 'localhost';
    default:
      return address;
  }
}