setSigner method

SetOptionsOperationBuilder setSigner(
  1. XdrSignerKey signer,
  2. int weight
)

Add, update, or remove a signer from the account. Signer is deleted if the weight = 0;

Implementation

SetOptionsOperationBuilder setSigner(XdrSignerKey signer, int weight) {
  this._signer = signer;
  _signerWeight = weight & 0xFF;
  return this;
}