name property - InternetAddressType class - dart:io library (original) (raw)

description

String getname

Get the name of the type, e.g. "IPv4" or "IPv6".

Implementation

String get name => const ["ANY", "IPv4", "IPv6", "Unix"][_value + 1];