toAssociationFilterOperatorType method

AssociationFilterOperatorType toAssociationFilterOperatorType()

Implementation

AssociationFilterOperatorType toAssociationFilterOperatorType() {
  switch (this) {
    case 'EQUAL':
      return AssociationFilterOperatorType.equal;
    case 'LESS_THAN':
      return AssociationFilterOperatorType.lessThan;
    case 'GREATER_THAN':
      return AssociationFilterOperatorType.greaterThan;
  }
  throw Exception('$this is not known in enum AssociationFilterOperatorType');
}