NetworkExtensions extension

Network Utilities Extensions for Dart & Flutter

This package contains useful extensions for IP address validation, URL checks, domain extraction, port validation, and network status handling.

on

Properties

extractDomain String?

Available on String, provided by the NetworkExtensions extension

Extracts the domain name from a URL
no setter
isValidDomain bool

Available on String, provided by the NetworkExtensions extension

Checks if the string is a valid domain name
no setter
isValidIPv4 bool

Available on String, provided by the NetworkExtensions extension

Checks if the string is a valid IPv4 address
no setter
isValidIPv6 bool

Available on String, provided by the NetworkExtensions extension

Checks if the string is a valid IPv6 address
no setter
isValidPort bool

Available on String, provided by the NetworkExtensions extension

Checks if the string is a valid port number (1 - 65535)
no setter
isValidUrl bool

Available on String, provided by the NetworkExtensions extension

Checks if the string is a valid URL
no setter