DebugAdapterTracker constructor

DebugAdapterTracker({
  1. void onWillStartSession()?,
  2. void onWillReceiveMessage([
    1. dynamic
    ])?,
  3. void onDidSendMessage([
    1. dynamic
    ])?,
  4. void onWillStopSession()?,
  5. void onError(
    1. Error
    )?,
  6. void onExit([
    1. num?,
    2. String?
    ])?,
})

Implementation

factory DebugAdapterTracker({
  void Function()? onWillStartSession,
  void Function([_i2.dynamic])? onWillReceiveMessage,
  void Function([_i2.dynamic])? onDidSendMessage,
  void Function()? onWillStopSession,
  void Function(_i7.Error)? onError,
  void Function([
    _i2.num?,
    _i2.String?,
  ])? onExit,
}) =>
    DebugAdapterTracker._(
      onWillStartSession: onWillStartSession == null
          ? null
          : _i5.allowInterop(onWillStartSession),
      onWillReceiveMessage: onWillReceiveMessage == null
          ? null
          : _i5.allowInterop(onWillReceiveMessage),
      onDidSendMessage: onDidSendMessage == null
          ? null
          : _i5.allowInterop(onDidSendMessage),
      onWillStopSession: onWillStopSession == null
          ? null
          : _i5.allowInterop(onWillStopSession),
      onError: onError == null ? null : _i5.allowInterop(onError),
      onExit: onExit == null ? null : _i5.allowInterop(onExit),
    );