asRomanNumeralToInt property

int? get asRomanNumeralToInt

Parses this string as a Roman numeral, returning null if the string is null.

Throws if the non-null string is not a valid Roman numeral.

Implementation

int? get asRomanNumeralToInt =>
    this == null ? null : romanNumeralToInt(this!);