toValue method
Implementation
String toValue() {
switch (this) {
case MatchOption.equals:
return 'EQUALS';
case MatchOption.startsWith:
return 'STARTS_WITH';
case MatchOption.endsWith:
return 'ENDS_WITH';
case MatchOption.contains:
return 'CONTAINS';
case MatchOption.caseSensitive:
return 'CASE_SENSITIVE';
case MatchOption.caseInsensitive:
return 'CASE_INSENSITIVE';
}
}