fromValue static method

EntityTypeAutoExpansionMode fromValue(
  1. String value
)

Implementation

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