Default class
Default values to use when no value is provided.
Constructors
- Default()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
reliableAddresses
↔ List<
InternetAddress> -
Predefined reliable addresses. This is opinionated
but should be enough. See https://www.dnsperf.com/#!dns-resolvers
getter/setter pair
Constants
- defaultInterval → const Duration
- Default interval is 10 seconds Interval is the number of seconds between each check of next address in the list of reliable addresses.
- defaultPort → const int
- This is the default port to use when checking for a connection. More info on why default port is 53 here:
- defaultTimeout → const Duration
- Default timeout is 10 seconds Timeout is the number of seconds to wait for a connection. If no connection is made, the check will fail. If no timeout is provided, the check will wait forever.