IdentifierInvalidNanoIdIssue class final
Identifier is not a valid Nano ID.
- Inheritance
-
- Object
- ValidationIssue
- IdentifierValidationIssue
- IdentifierInvalidNanoIdIssue
- Available extensions
Constructors
- IdentifierInvalidNanoIdIssue(int expectedLength)
-
Creates an invalid Nano ID issue.
const
Properties
- code → String
-
Machine-readable issue code.
no setteroverride
- defaultMessage → String
-
Default English message.
no setteroverride
- expectedLength → int
-
Expected length.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toIdentifierError(
) → IdentifierError -
Available on IdentifierValidationIssue, provided by the IdentifierValidationIssueToDomainErrorX extension
Maps a validation issue to its domain IdentifierError equivalent. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited