setSenderChainKey method

void setSenderChainKey(
  1. ChainKey nextChainKey
)

Implementation

void setSenderChainKey(ChainKey nextChainKey) {
  final chainKey = SessionStructureChainChainKey.create()
    ..key = nextChainKey.key
    ..index = nextChainKey.index;

  _sessionStructure.senderChain.chainKey = chainKey;
}