[demo] fixes
This commit is contained in:
@@ -65,8 +65,7 @@ abstract KeyType<T>(String) {
|
||||
instances.set(key, instance);
|
||||
return instance;
|
||||
} else {
|
||||
return null;
|
||||
//throw 'Factory for "${key}" not found';
|
||||
throw 'Factory for "${key}" not found';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user