url property

String url

URL representation of the LDAP connection's host and port.

For example, 'ldap://example.com' or 'ldaps://example.com:10636'.

Implementation

String get url {
  var proto = isSSL ? 'ldaps' : 'ldap';
  return '$proto://$_host:$_port';
}