update method

HareText update(
  1. String? newText
)

Implementation

HareText update(String? newText) {
  if (newText != null) {
    text = newText;
  }
  updateState();
  return this;
}