MoneyDecimalPlacesExceededIssue class final
The amount has more decimal places than the currency allows.
- Inheritance
-
- Object
- ValidationIssue
- MoneyValidationIssue
- MoneyDecimalPlacesExceededIssue
Constructors
- MoneyDecimalPlacesExceededIssue({required int currentPlaces, required int maxPlaces})
-
Creates a decimal-places-exceeded issue.
const
Properties
- code → String
-
Machine-readable issue code.
no setteroverride
- currentPlaces → int
-
Decimal places in the input.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxPlaces → int
-
Decimal places the currency allows.
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited