length property

int get length

Implementation

int get length {
  return str.length;
}
set length (int value)

Implementation

set length(int value) {
  str = str.substring(0, value);
}