newInstance<T> abstract method
Creates a new instance of the declaring class using this constructor.
arguments
is a map of parameter names to their values.
Example
final instance = constructor.newInstance({
'name': 'JetLeaf',
'version': 1,
});
Throws if the arguments do not match the constructor's requirements.
Implementation
T newInstance<T>(Map<String, dynamic> arguments);