host property

String get host

Implementation

String get host {
  try {
    return Uri.parse(url).host;
  } catch (_) {
    return '';
  }
}