regexValidIp4 top-level constant
String
const regexValidIp4
Matches IPv4 addresses.
Implementation
const String regexValidIp4 =
r'^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$';