getConstructor abstract method

  1. @Deprecated('Filter members instead')
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

@Deprecated('Filter members instead')
ConstructorDeclaration? getConstructor(String? name);