toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case TaskFilterName.locationId:
      return 'LocationId';
    case TaskFilterName.creationTime:
      return 'CreationTime';
  }
}