getLinkDeclaration abstract method

LinkDeclaration getLinkDeclaration()

Returns the type of the field.

Example

final annotation = ...;
final fields = annotation.getFields();
print(fields.map((f) => f.getTypeDeclaration().getName())); // ["value"]

Implementation

LinkDeclaration getLinkDeclaration();