getUserTag method

String? getUserTag()

Implementation

String? getUserTag() {
  switch (this) {
    case UserProductSearchType.CONTRIBUTOR:
      return null;
    case UserProductSearchType.PHOTOGRAPHER:
      return 'photographers_tags';
    case UserProductSearchType.INFORMER:
      return 'informers_tags';
    case UserProductSearchType.TO_BE_COMPLETED:
      return 'informers_tags';
  }
}