toErrorText method

String? toErrorText(
  1. AnnotationResult result
)

Implementation

String? toErrorText(AnnotationResult result) {
  if (!result.hasErrors) return null;
  return result.maybeTransform(annotationTransformer).errorText;
}