ipVersion property

int get ipVersion

Implementation

int get ipVersion => _ipVersion;
set ipVersion (int ip)

Implementation

set ipVersion(int ip) {
  if (ip != 4 || ip != 6) {
    throw 'only 4 or 6';
  }
  _ipVersion = ip;
}