text property

String text

Implementation

String get text {
  var rs = value?.join(',');
  if (rs.startsWith(',')) rs = rs.substring(1);

  return rs;
}
void text= (String valueText)

Implementation

set text(String valueText) {
  if (!Utils.isNullOrEmpty(valueText)) {
    value = [''];
    value.addAll(valueText.split(','));
  } else {
    value = [];
  }
  notifyListeners();
}