AuthorizedInvocation constructor Null safety

AuthorizedInvocation(
  1. String contractId,
  2. String functionName,
  3. {List<XdrSCVal>? args,
  4. List<AuthorizedInvocation>? subInvocations}
)

Implementation

AuthorizedInvocation(this.contractId, this.functionName,
    {List<XdrSCVal>? args, List<AuthorizedInvocation>? subInvocations}) {
  if (args != null) {
    this.args = args;
  }
  if (subInvocations != null) {
    this.subInvocations = subInvocations;
  }
}