value property

String get value

Implementation

String get value {
  switch (this) {
    case Period.WEEK:
      return '7day';
    case Period.MONTH:
      return '1month';
    case Period.MONTHS3:
      return '3month';
    case Period.MONTHS6:
      return '6month';
    case Period.YEAR:
      return '12month';
    case Period.OVERALL:
      return 'overall';
  }
}