subnet method
Implementation
@override
subnet(String cidr) =>
'The provided CIDR "$cidr" is an invalid subnet. A valid CIDR should follow the format of an IP address followed by a slash and a prefix length (e.g., 192.168.1.0/24 or 2001:db8::/32).';