type property

String type

Implementation

String get type {
  switch (this) {
    case Sentiment.Positive:
      return "Positive";
    case Sentiment.Neutral:
      return "Neutral";
    case Sentiment.Negative:
      return "Negative";
    default:
      return "";
  }
}