MessageHeader.fromParam constructor
constructor from params(send data).
Implementation
MessageHeader.fromParam({
required this.command,
required this.bodySize,
}) {
headerSize =
"${Sections.command.name}=$command\n${Sections.bodySize.name}=$bodySize\n"
.length;
}