init method Null safety

  1. @override
bool init(
  1. CoreContext core
)
inherited

Implementation

@override
bool init(CoreContext core) {
  _clearLayerControllers();

  for (final layer in stateMachine.layers) {
    layerControllers.add(LayerController(layer));
  }

  // Make sure triggers are all reset.
  advanceInputs();

  return super.init(core);
}