fromValue static method

EntityTypeKind fromValue(
  1. String value
)

Implementation

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