NumberDecimalPlacesExceededIssue class final
Number has too many decimal places.
- Inheritance
-
- Object
- ValidationIssue
- NumberValidationIssue
- NumberDecimalPlacesExceededIssue
- Available extensions
Constructors
- NumberDecimalPlacesExceededIssue({required int currentPlaces, required int maxPlaces})
-
Creates a decimal-places-exceeded issue.
const
Properties
- code → String
-
Machine-readable issue code.
no setteroverride
- currentPlaces → int
-
The provided decimal-place count.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxPlaces → int
-
The configured maximum decimal-place count.
final
- 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
-
toNumberError(
) → NumberError -
Available on NumberValidationIssue, provided by the NumberValidationIssueToDomainErrorX extension
Maps a validation issue to its domain NumberError equivalent. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited