setCode method

Transaction setCode(
  1. String code
)

Add smart contract code to the transaction

  • code : Smart contract code

Implementation

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