createOperator static method

FSOperator createOperator(
  1. String raw
)

Implementation

static FSOperator createOperator(String raw) {
  for (var value in FSOperator.values) {
    if (value.toString().toString().split('.').last == raw) {
      return value;
    }
  }
  return FSOperator.Unknown;
}