isIPv4 method

bool isIPv4()

Implementation

bool isIPv4() => _regExp(r'^(?:(?:^|\.)(?:2(?:5[0-5]|[0-4]\d)|1?\d?\d)){4}$');