JoltDebugOption.of constructor

const JoltDebugOption.of(
  1. String? debugLabel,
  2. JoltDebugFn? onDebug
)

Creates a debug option with a label and/or custom debug callback.

  • debugLabel: An optional label for the node in DevTools
  • onDebug: An optional callback function that will be called when debug operations occur for this node

Implementation

const JoltDebugOption.of(this.debugLabel, this.onDebug) : debugType = null;