NewInstanceCapability class

Gives support for reflective invocation of constructors (of all kinds) matching namePattern interpreted as a regular expression.

Constructors with the empty name are considered to have the name 'new'.

Note that this capability implies TypeCapability, because there is no way to perform a newInstance operation without class mirrors.

Inheritance
Implemented types
Implementers

Constructors

NewInstanceCapability(String namePattern)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
namePattern String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited