toScte35DeviceRestrictions method
Implementation
Scte35DeviceRestrictions toScte35DeviceRestrictions() {
switch (this) {
case 'NONE':
return Scte35DeviceRestrictions.none;
case 'RESTRICT_GROUP0':
return Scte35DeviceRestrictions.restrictGroup0;
case 'RESTRICT_GROUP1':
return Scte35DeviceRestrictions.restrictGroup1;
case 'RESTRICT_GROUP2':
return Scte35DeviceRestrictions.restrictGroup2;
}
throw Exception('$this is not known in enum Scte35DeviceRestrictions');
}