name property

String name

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

Implementation

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