append method
Appends data to currently stored message to buffer. @param incoming data @returns void @throws AtBufferOverFlowException if length() + data.length > capacity
Implementation
@override
void append(var data) {
if (!canAppend(data)) {
throw AtBufferOverFlowException('String Buffer Overflow');
} else {
message = message! + data;
}
}