process method

  1. @override
Future<Map<String, dynamic>> process()
override

Implementation

@override
Future<Map<String, dynamic>> process() async {
  final Map<String, dynamic> processedJson = {
    'type': 'search_in_workspace',
    'query': query,
    'outputs': [for (final dashOutput in dashOutputs) '$dashOutput'],
    'workspace_object_type': 'all',
    'version': version
  };
  return processedJson;
}