forInvokingContract method Null safety
- String contractID,
- String functionName,
- {List<
XdrSCVal> ? functionArguments, - XdrLedgerFootprint? footprint}
Implementation
static InvokeHostFuncOpBuilder forInvokingContract(
String contractID, String functionName,
{List<XdrSCVal>? functionArguments, XdrLedgerFootprint? footprint}) {
InvokeHostFuncOpBuilder builder = InvokeHostFuncOpBuilder(
XdrHostFunctionType.HOST_FUNCTION_TYPE_INVOKE_CONTRACT);
builder._contractID = contractID;
builder._functionName = functionName;
builder._arguments = functionArguments;
builder._footprint = footprint;
return builder;
}