newInstance<T> abstract method
Creates a new instance of the class using this constructor.
arguments is a map where keys are parameter names and values are
the corresponding values to pass to the constructor.
Throws if required parameters are missing or if types do not match.
Example
final person = constructor.newInstance({
'name': 'Alice',
'age': 30,
});
print(person.name); // Alice
Implementation
T newInstance<T>(Map<String, dynamic> arguments);