text property

String get text

Implementation

String get text => value.text;
set text (String newText)

Implementation

set text(String newText) {
  if(newText.length > size) {
    throw RangeError('Input size exceeded');
  }
  value = value.copyWith(text: newText);
}