getPosition abstract method

int getPosition()

Returns the position of the field in the source code.

Example

final annotation = ...;
final fields = annotation.getFields();
print(fields.map((f) => f.getPosition())); // [1]

Implementation

int getPosition();