toCmafKeyProviderType method
Implementation
CmafKeyProviderType toCmafKeyProviderType() {
switch (this) {
case 'SPEKE':
return CmafKeyProviderType.speke;
case 'STATIC_KEY':
return CmafKeyProviderType.staticKey;
}
throw Exception('$this is not known in enum CmafKeyProviderType');
}