updateHasText method

void updateHasText(
  1. String text
)

Implementation

void updateHasText(String text) {
  _hasText.value = text.isNotEmpty;
}