withLabel method

TextAnnotation withLabel(
  1. String value
)

Replaces TextAnnotation.label with value.

Implementation

TextAnnotation withLabel(String value) => copyWith(label: value);