ipv4 property

String ipv4
getter/setter pair

IPv4 regex

Implementation

static String ipv4 = r'^(?:(?:^|\.)(?:2(?:5[0-5]|[0-4]\d)|1?\d?\d)){4}$';