offset property

  1. @override
int get offset
override

The offset of the constructor name.

For a named constructor (e.g., ClassName.foo()``), this is the offset to the part of the constructor name that follows the .. For an unnamed constructor (e.g., ClassName();`), this is the offset of the class name that appears in the constructor declaration.

For an implicit constructor, this is the offset of the class name in the class declaration.

Implementation

@override
int get offset;