setFlagsComposite method

MerkleProof setFlagsComposite([
  1. bool? composite
])

Implementation

MerkleProof setFlagsComposite([bool? composite]) {
  composite = composite ?? false;
  if (composite) {
    this.flagsNum = this.flagsNum | 0x10;
  } else {
    this.flagsNum = this.flagsNum & ~0x10;
  }
  return this;
}