optIn property

void optIn=(bool optIn)

When creating an application, you have the option of opting in with the same transaction. Without this flag a separate transaction is needed to opt-in.

Implementation

set optIn(bool optIn) {
  if (optIn) {
    onCompletion = OnCompletion.OPT_IN_OC;
  } else {
    onCompletion = OnCompletion.NO_OP_OC;
  }
}