updateState method
Appends leaves (len/32) to tree kind in context id; throws CryptoException on native failure.
Implementation
@override
void updateState(int id, {required int kind, required List<int> leaves}) {
api.updateState(id, kind: kind, leaves: leaves).unwrapOrThrowCryptoError();
}