PropertyAccessorElementImpl constructor

PropertyAccessorElementImpl({
  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,
  10. required bool isGetter,
  11. required bool isSetter,
})

Creates a property accessor element with the specified properties.

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

Implementation

PropertyAccessorElementImpl({
  required super.name,
  required super.isAbstract,
  required super.isAsynchronous,
  required super.isExternal,
  required super.isGenerator,
  required super.isOperator,
  required super.isStatic,
  required super.isSynchronous,
  required super.enclosingElement,
  required this.isGetter,
  required this.isSetter,
});