SorobanAuthorizedInvocation constructor Null safety

SorobanAuthorizedInvocation(
  1. SorobanAuthorizedFunction function,
  2. {List<SorobanAuthorizedInvocation>? subInvocations}
)

Implementation

SorobanAuthorizedInvocation(this.function,
    {List<SorobanAuthorizedInvocation>? subInvocations}) {
  if (subInvocations != null) {
    this.subInvocations = subInvocations;
  }
}