removeLast method
void
removeLast()
Removes the last decorator from the chain of decorators
Implementation
void removeLast() {
if (isLastDecorator) {
return;
}
if (_next!.isLastDecorator) {
_next = null;
} else {
_next!.removeLast();
}
}