DebugConfigurationProvider constructor

DebugConfigurationProvider({
  1. FutureOr<List<DebugConfiguration>> provideDebugConfigurations([
    1. WorkspaceFolder?,
    2. CancellationToken?
    ])?,
  2. FutureOr<DebugConfiguration> resolveDebugConfiguration(
    1. DebugConfiguration,
    2. CancellationToken?, [
    3. WorkspaceFolder?
    ])?,
  3. FutureOr<DebugConfiguration> resolveDebugConfigurationWithSubstitutedVariables(
    1. DebugConfiguration,
    2. CancellationToken?, [
    3. WorkspaceFolder?
    ])?,
})

Implementation

factory DebugConfigurationProvider({
  _i4.FutureOr<_i2.List<_i3.DebugConfiguration>> Function([
    _i3.WorkspaceFolder?,
    _i3.CancellationToken?,
  ])? provideDebugConfigurations,
  _i4.FutureOr<_i3.DebugConfiguration> Function(
    _i3.DebugConfiguration,
    _i3.CancellationToken?, [
    _i3.WorkspaceFolder?,
  ])? resolveDebugConfiguration,
  _i4.FutureOr<_i3.DebugConfiguration> Function(
    _i3.DebugConfiguration,
    _i3.CancellationToken?, [
    _i3.WorkspaceFolder?,
  ])? resolveDebugConfigurationWithSubstitutedVariables,
}) =>
    DebugConfigurationProvider._(
      provideDebugConfigurations: provideDebugConfigurations == null
          ? null
          : _i5.allowInterop((
              p0,
              p1,
            ) =>
              _i6.Promise.futureOr(() => provideDebugConfigurations(
                    p0,
                    p1,
                  ))),
      resolveDebugConfiguration: resolveDebugConfiguration == null
          ? null
          : _i5.allowInterop((
              p0,
              p1,
              p2,
            ) =>
              _i6.Promise.futureOr(() => resolveDebugConfiguration(
                    p0,
                    p1,
                    p2,
                  ))),
      resolveDebugConfigurationWithSubstitutedVariables:
          resolveDebugConfigurationWithSubstitutedVariables == null
              ? null
              : _i5.allowInterop((
                  p0,
                  p1,
                  p2,
                ) =>
                  _i6.Promise.futureOr(
                      () => resolveDebugConfigurationWithSubstitutedVariables(
                            p0,
                            p1,
                            p2,
                          ))),
    );