fromValue static method
Implementation
static LiteRtLmModelType fromValue(int value) => switch (value) {
0 => kLiteRtLmModelTypeUnknown,
1 => kLiteRtLmModelTypeLlm,
2 => kLiteRtLmModelTypeEmbedding,
_ => throw ArgumentError('Unknown value for LiteRtLmModelType: $value'),
};