RomanNumerals class

Represents a basic Roman numeral-based number

This is a simplistic rendition of handling Roman numerals.

The apostrophus and the vinculum are not supported. Fractions are not supported.

See also: Wikipedia: Roman numerals

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toInt() int?
Attempts to evaluate a Roman numeral as an integer
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

isValid(String value) bool
tryParse(String input) RomanNumerals?
Creates a new instance