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