init method

void init({
  1. required CappManager manager,
})

The init method is used to initialize the controller.

Implementation

void init({required CappManager manager}) {
  this.manager = manager;
}