operator + method
Implementation
Ipv4Address operator +(int value) {
int newValue = ip + value;
if (newValue > 4294967295) throw ArgumentError('invalidIpAddress');
return Ipv4Address(newValue);
}
Ipv4Address operator +(int value) {
int newValue = ip + value;
if (newValue > 4294967295) throw ArgumentError('invalidIpAddress');
return Ipv4Address(newValue);
}