ExecutableElementImpl constructor

ExecutableElementImpl({
  1. required String name,
  2. required bool isAbstract,
  3. required bool isAsynchronous,
  4. required bool isExternal,
  5. required bool isGenerator,
  6. required bool isOperator,
  7. required bool isStatic,
  8. required bool isSynchronous,
  9. required Element enclosingElement,
})

Creates an executable element with the specified properties.

@param name The name of the executable element @param isAbstract Whether the element is abstract @param isAsynchronous Whether the element is asynchronous @param isExternal Whether the element is external @param isGenerator Whether the element is a generator @param isOperator Whether the element is an operator @param isStatic Whether the element is static @param isSynchronous Whether the element is synchronous @param enclosingElement The element containing this executable

Implementation

ExecutableElementImpl({
  required this.name,
  required this.isAbstract,
  required this.isAsynchronous,
  required this.isExternal,
  required this.isGenerator,
  required this.isOperator,
  required this.isStatic,
  required this.isSynchronous,
  required this.enclosingElement,
});