setOperation method

  1. @override
Future<bool> setOperation(
  1. DragOperation operation, {
  2. required int viewId,
})
override

Specify the DragOperation while dragging the file.

Implementation

@override
Future<bool> setOperation(DragOperation operation, {required int viewId}) {
  return _views[viewId]!.setOperation(operation);
}