toAttribute method
Implementation
Attribute toAttribute() {
switch (this) {
case 'DEFAULT':
return Attribute.$default;
case 'ALL':
return Attribute.all;
}
throw Exception('$this is not known in enum Attribute');
}
Attribute toAttribute() {
switch (this) {
case 'DEFAULT':
return Attribute.$default;
case 'ALL':
return Attribute.all;
}
throw Exception('$this is not known in enum Attribute');
}