Iso8601DurationFractionNotSmallest class final

A fraction sat above the smallest component present. ISO 8601 allows one only on the lowest-order component, so P0.5Y1M is refused where P1Y0.5M is not.

Inheritance

Constructors

Iso8601DurationFractionNotSmallest(String designator)
Creates the failure.
const

Properties

designator String
The designator carrying the fraction.
final
hashCode int
The hash code for this object.
no setteroverride
message String
What went wrong, e.g. 'failed the mod-97 check', for logs.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typeName String
The value type that refused the input, e.g. 'Iban'. An explicit string, not a <T>, because extension types erase to their representation at runtime.
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