DebugSession constructor

DebugSession({
  1. String? id,
  2. String? type,
  3. DebugSession? parentSession,
  4. String? name,
  5. WorkspaceFolder? workspaceFolder,
  6. DebugConfiguration? configuration,
  7. Future customRequest(
    1. String, [
    2. dynamic
    ])?,
  8. Future getDebugProtocolBreakpoint(
    1. Breakpoint
    )?,
})

Implementation

factory DebugSession({
  _i2.String? id,
  _i2.String? type,
  _i3.DebugSession? parentSession,
  _i2.String? name,
  _i3.WorkspaceFolder? workspaceFolder,
  _i3.DebugConfiguration? configuration,
  _i2.Future<_i2.dynamic> Function(
    _i2.String, [
    _i2.dynamic,
  ])? customRequest,
  _i2.Future<_i2.dynamic> Function(_i3.Breakpoint)?
      getDebugProtocolBreakpoint,
}) =>
    DebugSession._(
      id: id,
      type: type,
      parentSession: parentSession ?? _i6.undefined,
      name: name,
      workspaceFolder: workspaceFolder ?? _i6.undefined,
      configuration: configuration ?? _i6.undefined,
      customRequest:
          customRequest == null ? null : _i5.allowInterop(customRequest),
      getDebugProtocolBreakpoint: getDebugProtocolBreakpoint == null
          ? null
          : _i5.allowInterop(getDebugProtocolBreakpoint),
    );