AddressCheckOptions constructor

AddressCheckOptions(
  1. InternetAddress address, {
  2. int port = Default.defaultPort,
  3. 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,
});