baseNameOnRomany property
String
get
baseNameOnRomany
Get name of this branch in Chinese by Latin letters.
Implementation
String get baseNameOnRomany {
return switch (this) {
Branch.rat => "zǐ",
Branch.ox => "chǒu",
Branch.tiger => "yín",
Branch.rabbit => "mǎo",
Branch.dragon => "chén",
Branch.snake => "sì",
Branch.horse => "wǔ",
Branch.goat => "wèi",
Branch.monkey => "shēn",
Branch.rooster => "yǒu",
Branch.dog => "xū",
Branch.pig => "hài",
};
}