process method

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

Implementation

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

  return processedJson;
}