DebugAdapter constructor

DebugAdapter({
  1. Event<DebugProtocolMessage>? onDidSendMessage,
  2. void handleMessage(
    1. DebugProtocolMessage
    )?,
})

Implementation

factory DebugAdapter({
  _i3.Event<_i3.DebugProtocolMessage>? onDidSendMessage,
  void Function(_i3.DebugProtocolMessage)? handleMessage,
}) =>
    DebugAdapter._(
      onDidSendMessage: onDidSendMessage ?? _i6.undefined,
      handleMessage:
          handleMessage == null ? null : _i5.allowInterop(handleMessage),
    );