addLast method
void
addLast()
Adds the last element, which is alway *
.
Implementation
void addLast() {
// *
final wasEmpty = isEmpty;
_isLastAdded = true;
_ids.add(STAR);
_text = wasEmpty ? '*' : null;
}
Adds the last element, which is alway *
.
void addLast() {
// *
final wasEmpty = isEmpty;
_isLastAdded = true;
_ids.add(STAR);
_text = wasEmpty ? '*' : null;
}