FastConnectivityService constructor
FastConnectivityService({})
Implementation
factory FastConnectivityService({
Duration? checkInterval,
Duration? checkTimeout,
List<String>? checkAddresses,
List<int>? checkPorts,
Duration? throttleDuration,
}) {
if (!_hasBeenInstantiated) {
instance._setConfig(
checkInterval: checkInterval,
checkTimeout: checkTimeout,
checkAddresses: checkAddresses,
checkPorts: checkPorts,
throttleDuration: throttleDuration,
);
_hasBeenInstantiated = true;
}
return instance;
}