baseName property

String get baseName

Get name of this branch in Chinese by Latin letters.

Implementation

String get baseName {
  return switch (this) {
    Branch.rat => "子",
    Branch.ox => "丑",
    Branch.tiger => "寅",
    Branch.rabbit => "卯",
    Branch.dragon => "辰",
    Branch.snake => "巳",
    Branch.horse => "午",
    Branch.goat => "未",
    Branch.monkey => "申",
    Branch.rooster => "酉",
    Branch.dog => "戌",
    Branch.pig => "亥",
  };
}