ConstructorReflection<O> constructor

ConstructorReflection<O>(
  1. ClassReflection<O> classReflection,
  2. Type declaringType,
  3. String name,
  4. ConstructorReflectionAccessor constructorAccessor,
  5. List<ParameterReflection>? normalParameters,
  6. List<ParameterReflection>? optionalParameters,
  7. Map<String, ParameterReflection>? namedParameters,
  8. List<Object>? annotations, {
  9. Type? type,
})

Implementation

ConstructorReflection(
    ClassReflection<O> classReflection,
    Type declaringType,
    String name,
    this.constructorAccessor,
    List<ParameterReflection>? normalParameters,
    List<ParameterReflection>? optionalParameters,
    Map<String, ParameterReflection>? namedParameters,
    List<Object>? annotations,
    {Type? type})
    : super(
          classReflection,
          declaringType,
          name,
          TypeReflection(type ?? O),
          false,
          normalParameters,
          optionalParameters,
          namedParameters,
          annotations);