PluginHarness constructor

const PluginHarness({
  1. List<PluginRegistry> registries(
    1. String? backend
    )?,
  2. void setUp(
    1. EngineLoop loop
    )?,
  3. List<Flutter3dPlugin> dependencies()?,
  4. int steps = 600,
  5. SimulationProfile profile = SimulationProfile.deterministic,
  6. String? package,
})

A harness running steps steps a run, 600 by default, under profile; steps must be above nought.

Implementation

const PluginHarness({
  this.registries,
  this.setUp,
  this.dependencies,
  this.steps = 600,
  this.profile = SimulationProfile.deterministic,
  this.package,
}) : assert(steps > 0, 'a run of nought steps checks nothing');