hosts property

Returns an iterator over the usable hosts in the network.

Implementation

@override
Iterable<IPv4Address> get hosts =>
    range(networkAddress.toInt() + 1, broadcastAddress.toInt()).map((x) {
      return IPv4Address.fromInt(x);
    }).toList();