attach method

  1. @mustCallSuper
void attach([
  1. bool attach = true
])
inherited

Attach the controller to an Ad Throws an AssertionException if the controller is already attached.

You should not call this function

Implementation

@mustCallSuper
void attach([bool attach = true]) {
  if (attach) _assertControllerIsNotAttached();
  _attached = attach;
}