operator - method

Ipv4Address operator -(
  1. int value
)

Implementation

Ipv4Address operator -(int value) {
  int newValue = ip - value;
  if (newValue < 0) throw ArgumentError('invalidIpAddress');
  return Ipv4Address(newValue);
}