setCode method

Transaction setCode(
  1. String code
)

Add smart contract code to the transaction @param {String} code Smart contract code

Implementation

Transaction setCode(String code) {
  return copyWith.data!(
    code: code,
  );
}