IpAddressLeadingZero class final
part carries a leading zero, which is refused rather than read.
inet_aton reads 010 as octal 8 where most parsers read decimal 10, so taking it lets one component
filter an address that another then connects to. Why: APPENDIX.md#ip-address-value-type.
- Inheritance
-
- Object
- IpAddressFailure
- IpAddressLeadingZero
Constructors
- IpAddressLeadingZero(String part)
-
Creates the failure.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- message → String
-
What went wrong, like
'failed the mod-97 check', for logs.no setter - part → String
-
The offending part, as written.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- typeName → String
-
The value type that refused the input, like
'Iban'.no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override