RomanNumeralsConfig class
Base configuration shared by every Roman numeral style.
Prefer one of the concrete subclasses over instantiating this directly: CommonRomanNumeralsConfig, ApostrophusRomanNumeralsConfig, CompactApostrophusRomanNumeralsConfig, or VinculumRomanNumeralsConfig.
The optional nulla is a token used to represent zero. The Romans had
no symbol for zero; medieval writers sometimes used N (for nulla).
When set, the extension methods will accept that exact token as a valid
numeral string and emit it for the integer 0.
Constructors
- RomanNumeralsConfig({RomanNumeralsType configType = RomanNumeralsType.common, String? nulla})
-
const
Properties
- configType → RomanNumeralsType
-
Which numeral style this config selects.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- nulla → String?
-
Optional zero-token (e.g.
'N'). Whennull, zero is unsupported.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