File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,15 @@ import 'package:universal_io/io.dart';
1111import 'package:network_tools/src/services/impls/host_scanner_service_impl.dart' ;
1212
1313/// Scans for all hosts in a subnet.
14+ @pragma ('vm:entry-point' )
1415class HostScannerServiceFlutterImpl extends HostScannerServiceImpl {
1516 /// Scans for all hosts in a particular subnet (e.g., 192.168.1.0/24)
1617 /// Set maxHost to higher value if you are not getting results.
1718 /// It won't firstHostId again unless previous scan is completed due to heavy
1819 /// resource consumption.
1920 /// [resultsInAddressAscendingOrder] = false will return results faster but not in order
2021 @override
22+ @pragma ('vm:entry-point' )
2123 Stream <ActiveHost > getAllPingableDevices (
2224 String subnet, {
2325 int firstHostId = HostScannerService .defaultFirstHostId,
You can’t perform that action at this time.
0 commit comments