newInstance abstract method
Instantiates this class using the default (unnamed) constructor.
arguments
is a map where keys are parameter names and values are passed to the constructor.
Example
final instance = clazz.newInstance({'name': 'John', 'age': 30});
print(instance); // Instance of MyClass
Note: In a real reflection system, this would delegate to generated code or a dynamic factory registry.
Implementation
dynamic newInstance(Map<String, dynamic> arguments);