InternetAddress constructor

InternetAddress(
  1. String address
)

Creates a new InternetAddress from a numeric address.

If the address in address is not a numeric IPv4 (dotted-decimal notation) or IPv6 (hexadecimal representation). address ArgumentError is thrown.

Implementation

factory InternetAddress(String address) => InternetAddress._(address);