tryParse static method

InternetAddress? tryParse(
  1. String address
)

Attempts to parse address as a numeric address.

Returns null If address is not a numeric IPv4 (dotted-decimal notation) or IPv6 (hexadecimal representation) address.

Implementation

external static InternetAddress? tryParse(String address);