$initPack method Null safety

void $initPack(
  1. int commandId
)

Implementation

void $initPack(int commandId) {
	_data = Uint8List($estimate());
	$packUint32(commandId);
	$packUint32(_transactionId ?? (_transactionId = ++_globalTransactionId & 0xFFFFFFFF));
}