fieldName property

String fieldName

Implementation

String get fieldName {
  switch (this) {
    case TranslateReportSortType.translation:
      return 'translatedCount';
    case TranslateReportSortType.vote:
      return 'votedCount';
  }
}