AnnotationResultExtensions extension

Extension methods for AnnotationResult.

on

Properties

errorText → String?

Available on AnnotationResult, provided by the AnnotationResultExtensions extension

Gets the error message if there are any errors, or null if there are no errors.
no setter

Methods

maybeTransform(AnnotationTransformer? func) → AnnotationResult

Available on AnnotationResult, provided by the AnnotationResultExtensions extension

remove(String id) → AnnotationResult

Available on AnnotationResult, provided by the AnnotationResultExtensions extension

replace(String id, {MessageTransformer? func, String? message}) → AnnotationResult

Available on AnnotationResult, provided by the AnnotationResultExtensions extension