fromKey static method
Creates Class Object from Json
Implementation
static StorageEntryModifierV9 fromKey(String key) {
switch (key) {
case 'Optional':
return StorageEntryModifierV9_Optional();
case 'Default':
return StorageEntryModifierV9_Default();
case 'Requried':
return StorageEntryModifierV9_Required();
default:
throw UnexpectedTypeException('Unexpected type: $key');
}
}