getMessageSize method Null safety

int getMessageSize()
override

Implementation

int getMessageSize() {
  var length = 0;
  length += header.getMessageSize();
  return length + 48;
}