toNormalText method

String toNormalText(
  1. String domain
)

Returns the domain name for the Punycode.

Implementation

String toNormalText(String domain) {
  const domainCodec = PunycodeCodec();
  return domainCodec.decode(domain);
}