isRowAnnotation function

bool isRowAnnotation (ElementAnnotation annotation)

Implementation

bool isRowAnnotation(ElementAnnotation annotation) {
  return annotation.computeConstantValue().type.displayName == "Row";
}