fromValue static method

CompensationEntryType fromValue(
  1. String value
)

Implementation

static CompensationEntryType fromValue(String value) {
  for (final item in CompensationEntryType.values) {
    if (item.wireValue == value) {
      return item;
    }
  }
  throw ArgumentError('Unknown CompensationEntryType value: $value');
}