AddressCheckOptions constructor
AddressCheckOptions(
- InternetAddress address, {
- int port = Default.defaultPort,
- Duration timeout = Default.defaultTimeout,
In constructor for AddressCheckOptions. Set default port
and timeout
.
So, that while creating instance if port
or timeout
is not set,
it will be set to default values.
Implementation
AddressCheckOptions(
this.address, {
this.port = Default.defaultPort,
this.timeout = Default.defaultTimeout,
});