getByServices method

List<NetworkAddress> getByServices(
  1. int services
)

Get addresses supporting specific services

Implementation

List<NetworkAddress> getByServices(int services) {
  return addressList.where((addr) => (addr.services & services) != 0).toList();
}