weekShort property

String get weekShort

Implementation

String get weekShort {
  switch (this) {
    case 1:
      return "Sun";
    case 2:
      return "Mon";
    case 3:
      return "Tue";
    case 4:
      return "Wed";
    case 5:
      return "Thu";
    case 6:
      return "Fri";
    case 7:
      return "Sat";
    default:
      return DateTime.now().weekday.weekShort;
  }
}