forDeploySACWithSourceAccount method Null safety

InvokeHostFuncOpBuilder forDeploySACWithSourceAccount(
  1. {XdrUint256? salt,
  2. XdrLedgerFootprint? footprint}
)

Implementation

static InvokeHostFuncOpBuilder forDeploySACWithSourceAccount(
    {XdrUint256? salt, XdrLedgerFootprint? footprint}) {
  InvokeHostFuncOpBuilder builder = InvokeHostFuncOpBuilder(
      XdrHostFunctionType.HOST_FUNCTION_TYPE_CREATE_CONTRACT);
  builder._salt = salt;
  builder._footprint = footprint;
  return builder;
}