fromValue static method

FileContentBufferFileType fromValue(
  1. String value
)

Implementation

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