ConstructorElementImpl constructor
ConstructorElementImpl({})
Creates a constructor element with the specified properties.
@param name The name of the constructor (empty for default constructor) @param enclosingElement The class containing this constructor @param isConst Whether the constructor is a constant constructor @param isFactory Whether the constructor is a factory constructor @param isGenerator Whether the constructor is a generator @param superConstructor Reference to the superclass constructor called, if any
Implementation
ConstructorElementImpl({
required super.name,
required super.enclosingElement,
required this.isConst,
required this.isFactory,
required super.isGenerator,
this.superConstructor,
}) : super(
isAsynchronous: false,
isExternal: false,
isOperator: false,
isStatic: false,
isSynchronous: true,
isAbstract: false,
);