provideDocumentDropEdits property

FutureOr<DocumentDropEdit> Function(TextDocument, Position, DataTransfer, CancellationToken) get provideDocumentDropEdits

Implementation

_i4.FutureOr<_i3.DocumentDropEdit> Function(
  _i3.TextDocument,
  _i3.Position,
  _i3.DataTransfer,
  _i3.CancellationToken,
) get provideDocumentDropEdits => (
      _i3.TextDocument p0,
      _i3.Position p1,
      _i3.DataTransfer p2,
      _i3.CancellationToken p3,
    ) =>
        _i5.callMethod(
          _i5.getProperty(
            this,
            'provideDocumentDropEdits',
          ),
          r'call',
          [
            this,
            p0,
            p1,
            p2,
            p3,
          ],
        );
set provideDocumentDropEdits (FutureOr<DocumentDropEdit> value(TextDocument, Position, DataTransfer, CancellationToken))

Implementation

set provideDocumentDropEdits(
    _i4.FutureOr<_i3.DocumentDropEdit> Function(
      _i3.TextDocument,
      _i3.Position,
      _i3.DataTransfer,
      _i3.CancellationToken,
    ) value) {
  _i5.setProperty(
    this,
    'provideDocumentDropEdits',
    _i5.allowInterop((
      p0,
      p1,
      p2,
      p3,
    ) =>
        _i6.Promise.futureOr(() => value(
              p0,
              p1,
              p2,
              p3,
            ))),
  );
}