DebugAdapterDescriptorFactory constructor

DebugAdapterDescriptorFactory({
  1. FutureOr<Object> createDebugAdapterDescriptor(
    1. DebugSession, [
    2. DebugAdapterExecutable?
    ])?,
})

Implementation

factory DebugAdapterDescriptorFactory(
        {_i4.FutureOr<_i2.Object> Function(
          _i3.DebugSession, [
          _i3.DebugAdapterExecutable?,
        ])? createDebugAdapterDescriptor}) =>
    DebugAdapterDescriptorFactory._(
        createDebugAdapterDescriptor: createDebugAdapterDescriptor == null
            ? null
            : _i5.allowInterop((
                p0,
                p1,
              ) =>
                _i6.Promise.futureOr(() => createDebugAdapterDescriptor(
                      p0,
                      p1,
                    ))));