fromScheme static method
Resolves scheme to a profile.
Implementation
static MlDsaThresholdProfile fromScheme(SchemeId scheme) {
for (final profile in values) {
if (profile.schemeId == scheme) return profile;
}
throw InvalidParams('Scheme $scheme is not an ML-DSA threshold profile');
}