getConstructor abstract method

ConstructorDeclaration? getConstructor(
  1. String? name
)

Return the constructor declared in the class with the given name, or null if there is no such constructor.

If the name is null then the default constructor will be searched for.

Implementation

ConstructorDeclaration? getConstructor(String? name);