CosimConfig constructor

const CosimConfig({
  1. bool enableLogging = false,
  2. bool throwOnUnexpectedEnd = true,
})

Constructs information for cosimulation.

Additional debug logging is enabled via enableLogging. Can optionally throw an exception if cosimulation ends unexpectedly by setting throwOnUnexpectedEnd to true.

Implementation

const CosimConfig({
  this.enableLogging = false,
  this.throwOnUnexpectedEnd = true,
});