AuthorizedInvocation constructor Null safety
Constructs an AuthorizedInvocation object for the given contractId and functionName of the contract function to be called.
Optional list of args
for the contract function to be called
and optional list of subInvocations
can be provided.
Implementation
AuthorizedInvocation(this.contractId, this.functionName,
{List<XdrSCVal>? args, List<AuthorizedInvocation>? subInvocations}) {
if (args != null) {
this.args = args;
}
if (subInvocations != null) {
this.subInvocations = subInvocations;
}
}