toTaskFilterName method

TaskFilterName toTaskFilterName()

Implementation

TaskFilterName toTaskFilterName() {
  switch (this) {
    case 'LocationId':
      return TaskFilterName.locationId;
    case 'CreationTime':
      return TaskFilterName.creationTime;
  }
  throw Exception('$this is not known in enum TaskFilterName');
}