Romanization enum

An enum containing maps that indicates how to convert between kana characters and romaji.

Currently only supports hepburn. (https://en.wikipedia.org/wiki/Hepburn_romanization).

Inheritance
Available extensions

Values

hepburn → const Romanization

The Hepburn romanization map. (https://en.wikipedia.org/wiki/Hepburn_romanization)

const Romanization(name: 'Hepburn', kanaToRomajiMap: _hepburnKanaToRomajiMap, romajiToKanaMap: _hepburnRomajiToKanaMap)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
kanaToRomajiMap Map<String, dynamic>
The map that can be used to convert from kana to romaji.
final
name String
The name of this Romanization.
final
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
romajiToKanaMap Map<String, dynamic>
The map that can be used to convert from romaji to kana.
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.
override

Operators

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

Constants

values → const List<Romanization>
A constant List of the values in this enum, in order of their declaration.