withStyle method

TextAnnotation withStyle(
  1. AnnotationStyle value
)

Replaces TextAnnotation.style with value.

Implementation

TextAnnotation withStyle(AnnotationStyle value) => copyWith(style: value);