name property Null safety

String name

Implementation

String get name {
  switch (this) {
    case ActionType.lactation:
      return "포유";
    case ActionType.ruminant:
      return "반추";
    case ActionType.eating:
      return "사료섭취";
    case ActionType.drinking:
      return "음수";
    case ActionType.heading:
      return "포유자극";
    case ActionType.standing:
      return "서기";
    case ActionType.sitting:
      return "앉기";
    case ActionType.sittingStanding:
      return "앉기/서기";
    case ActionType.cough:
      return "기침";
    case ActionType.activity:
      return "활동량";

    ///특이행동
    case ActionType.impulse:
      return "큰충격";
    case ActionType.irregularSittingStanding:
      return "변칙앉기/서기";
    case ActionType.standingFail:
      return "기립실패";
    case ActionType.doridori:
      return "도리도리";
    default:
      return "";
  }
}