hostName property

String get hostName

host name

Implementation

String get hostName {
  final atIndex = email.lastIndexOf('@');
  if (atIndex != -1) {
    return email.substring(atIndex + 1);
  }

  return email;
}