toPunycode method

String toPunycode(
  1. String domain
)

Returns the Punycode for the domain name.

Implementation

String toPunycode(String domain) {
  return domainToAscii(domain);
}